|
|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<mapper namespace="com.da.dangan.mapper.DaCzrkdjMapper">
|
|
|
|
|
<resultMap type="DaCzrkdj" id="DaCzrkdjResult">
|
|
|
|
|
<result property="id" column="id"/>
|
|
|
|
|
<result property="allInfo" column="all_info" />
|
|
|
|
|
<result property="allInfo" column="all_info" />
|
|
|
|
|
<result property="taskId" column="task_id"/>
|
|
|
|
|
<result property="ywType" column="yw_type"/>
|
|
|
|
|
<result property="muId" column="mu_id"/>
|
|
|
|
|
@ -77,8 +77,8 @@
|
|
|
|
|
<where>
|
|
|
|
|
<if test="userId != null ">and uc.user_id = #{userId}</if>
|
|
|
|
|
<if test="taskId != null ">and task_id = #{taskId}</if>
|
|
|
|
|
<!-- flag=0 展示全部 =1不展示没有姓名的记录 -->
|
|
|
|
|
<if test="flag != null and flag=='1'.toString()">and name !='无'</if>
|
|
|
|
|
<!-- flag=0 展示全部 =1不展示没有姓名的记录和没有全文识别信息的记录-->
|
|
|
|
|
<if test="flag != null and flag=='1'.toString()">and ((`name` !='' and `name` !='无' ) or all_info!='')</if>
|
|
|
|
|
<if test="ywType != null and ywType != ''">and yw_type = #{ywType}</if>
|
|
|
|
|
<if test="muId != null ">and c.mu_id = #{muId}</if>
|
|
|
|
|
<if test="muPath != null and muPath != ''">and mu_path = #{muPath}</if>
|
|
|
|
|
@ -204,7 +204,8 @@
|
|
|
|
|
<if test="userId != null ">and uc.user_id = #{userId}</if>
|
|
|
|
|
<if test="ywType != null and ywType != ''">and yw_type = #{ywType}</if>
|
|
|
|
|
<if test="name != null and name != ''">
|
|
|
|
|
and ( name like concat('%', #{name}, '%')
|
|
|
|
|
and ( all_info like concat('%', #{name}, '%')
|
|
|
|
|
or `name` like concat('%', #{name}, '%')
|
|
|
|
|
or hz_name like concat('%', #{name}, '%')
|
|
|
|
|
or other_name like concat('%', #{name}, '%')
|
|
|
|
|
or used_name like concat('%', #{name}, '%')
|
|
|
|
|
|