调解系统后端服务

MsCaseApplicationMapper.xml 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCaseApplicationMapper">
  4. <resultMap id="BaseResultMap" type="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseApplication">
  5. <!--
  6. WARNING - @mbg.generated
  7. -->
  8. <id column="id" jdbcType="BIGINT" property="id" />
  9. <result column="batch_number" jdbcType="INTEGER" property="batchNumber" />
  10. <result column="template_id" jdbcType="BIGINT" property="templateId" />
  11. <result column="case_num" jdbcType="VARCHAR" property="caseNum" />
  12. <result column="case_subject_amount" jdbcType="DECIMAL" property="caseSubjectAmount" />
  13. <result column="mediation_method" jdbcType="CHAR" property="mediationMethod" />
  14. <result column="case_status_name" jdbcType="VARCHAR" property="caseStatusName" />
  15. <result column="case_flow_id" jdbcType="BIGINT" property="caseFlowId" />
  16. <result column="hear_date" jdbcType="TIMESTAMP" property="hearDate" />
  17. <result column="fee_payable" jdbcType="DECIMAL" property="feePayable" />
  18. <result column="mediator_id" jdbcType="BIGINT" property="mediatorId" />
  19. <result column="mediator_name" jdbcType="VARCHAR" property="mediatorName" />
  20. <result column="pay_type" jdbcType="CHAR" property="payType" />
  21. <result column="is_absence" jdbcType="INTEGER" property="isAbsence" />
  22. <result column="lock_status" jdbcType="INTEGER" property="lockStatus" />
  23. <result column="room_id" jdbcType="VARCHAR" property="roomId" />
  24. <result column="appli_iswrit_hear" jdbcType="INTEGER" property="appliIswritHear" />
  25. <result column="respon_isWrit_hear" jdbcType="INTEGER" property="responIswritHear" />
  26. <result column="create_by" jdbcType="VARCHAR" property="createBy" />
  27. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  28. <result column="update_by" jdbcType="VARCHAR" property="updateBy" />
  29. <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  30. <result column="version" jdbcType="INTEGER" property="version" />
  31. <result column="arbitrat_claims" jdbcType="LONGVARCHAR" property="arbitratClaims" />
  32. <result column="facts" jdbcType="LONGVARCHAR" property="facts" />
  33. <result column="mediation_url" jdbcType="LONGVARCHAR" property="mediationUrl" />
  34. <result column="mediation_agreement" jdbcType="LONGVARCHAR" property="mediationAgreement" />
  35. <result column="is_reconci" jdbcType="INTEGER" property="isReconci" />
  36. </resultMap>
  37. <select id="listMediator" resultMap="BaseResultMap">
  38. select mediator_id ,id ,case_status_name,case_flow_id from ms_case_application <where>
  39. <if test = 'userIds!=null and userIds.size()>0'>
  40. and mediator_id in
  41. <foreach item='item' index='index' collection='userIds' open='(' separator=',' close=')'>
  42. #{item}
  43. </foreach>
  44. </if>
  45. <!-- <if test = 'recordCaeIdList!=null and recordCaeIdList.size()>0'> and id not in
  46. <foreach item='id' index='index' collection='recordCaeIdList' open='(' separator=',' close=')'>
  47. #{id}
  48. </foreach>
  49. </if> -->
  50. </where>
  51. </select>
  52. </mapper>