Files
Mediation-Backend/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/mscase/MsCaseApplicationMapper.xml
T

53 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseApplicationMapper">
<resultMap id="BaseResultMap" type="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseApplication">
<!--
WARNING - @mbg.generated
-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="batch_number" jdbcType="INTEGER" property="batchNumber" />
<result column="template_id" jdbcType="BIGINT" property="templateId" />
<result column="case_num" jdbcType="VARCHAR" property="caseNum" />
<result column="case_subject_amount" jdbcType="DECIMAL" property="caseSubjectAmount" />
<result column="mediation_method" jdbcType="CHAR" property="mediationMethod" />
<result column="case_status_name" jdbcType="VARCHAR" property="caseStatusName" />
<result column="case_flow_id" jdbcType="BIGINT" property="caseFlowId" />
<result column="hear_date" jdbcType="TIMESTAMP" property="hearDate" />
<result column="fee_payable" jdbcType="DECIMAL" property="feePayable" />
<result column="mediator_id" jdbcType="BIGINT" property="mediatorId" />
<result column="mediator_name" jdbcType="VARCHAR" property="mediatorName" />
<result column="pay_type" jdbcType="CHAR" property="payType" />
<result column="is_absence" jdbcType="INTEGER" property="isAbsence" />
<result column="lock_status" jdbcType="INTEGER" property="lockStatus" />
<result column="room_id" jdbcType="VARCHAR" property="roomId" />
<result column="appli_iswrit_hear" jdbcType="INTEGER" property="appliIswritHear" />
<result column="respon_isWrit_hear" jdbcType="INTEGER" property="responIswritHear" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="version" jdbcType="INTEGER" property="version" />
<result column="arbitrat_claims" jdbcType="LONGVARCHAR" property="arbitratClaims" />
<result column="facts" jdbcType="LONGVARCHAR" property="facts" />
<result column="mediation_url" jdbcType="LONGVARCHAR" property="mediationUrl" />
<result column="mediation_agreement" jdbcType="LONGVARCHAR" property="mediationAgreement" />
<result column="is_reconci" jdbcType="INTEGER" property="isReconci" />
</resultMap>
<select id="listMediator" resultMap="BaseResultMap">
select mediator_id ,id ,case_status_name,case_flow_id from ms_case_application <where>
<if test = 'userIds!=null and userIds.size()>0'>
and mediator_id in
<foreach item='item' index='index' collection='userIds' open='(' separator=',' close=')'>
#{item}
</foreach>
</if>
<!-- <if test = 'recordCaeIdList!=null and recordCaeIdList.size()>0'> and id not in
<foreach item='id' index='index' collection='recordCaeIdList' open='(' separator=',' close=')'>
#{id}
</foreach>
</if> -->
</where>
</select>
</mapper>