|
@ -3521,7 +3521,7 @@ |
|
|
|
|
|
|
|
|
<select id="selectItemList" resultType="com.elink.esua.epdc.dto.item.result.ItemToEpmetDTO"> |
|
|
<select id="selectItemList" resultType="com.elink.esua.epdc.dto.item.result.ItemToEpmetDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
i.ID, |
|
|
i.SERIAL_NUM as id, |
|
|
i.ALL_DEPT_NAMES, |
|
|
i.ALL_DEPT_NAMES, |
|
|
'北尚诉办' reportingSource, |
|
|
'北尚诉办' reportingSource, |
|
|
i.CREATED_TIME, |
|
|
i.CREATED_TIME, |
|
@ -3536,10 +3536,10 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
i.DEL_FLAG = '0' |
|
|
i.DEL_FLAG = '0' |
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> |
|
|
i.UPDATED_TIME BETWEEN #{startTime} AND #{endTime} |
|
|
AND i.UPDATED_TIME BETWEEN #{startTime} AND #{endTime} |
|
|
</if> |
|
|
</if> |
|
|
<if test="deptName != null and deptName != ''"> |
|
|
<if test="deptName != null and deptName != ''"> |
|
|
AND find_in_set(#{deptName},item.ALL_DEPT_NAMES) |
|
|
i.ALL_DEPT_NAMES LIKE CONCAT('%',#{deptName},'%') |
|
|
</if> |
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |
|
|