update code
parent
547ddde5c5
commit
3c6ec3fb1d
|
@ -318,6 +318,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="getList" parameterType="SurProjectCheckDetection" resultMap="SurProjectCheckDetectionResult">
|
<select id="getList" parameterType="SurProjectCheckDetection" resultMap="SurProjectCheckDetectionResult">
|
||||||
<include refid="selectSurProjectCheckDetectionVo"/>
|
<include refid="selectSurProjectCheckDetectionVo"/>
|
||||||
WHERE spcd.is_del=0
|
WHERE spcd.is_del=0
|
||||||
|
<if test="detectionResult==1">and spcd.detection_result=1</if>
|
||||||
|
<if test="detectionResult==0">and spcd.detection_result <> 1</if>
|
||||||
<if test="checkType!=null and checkType>0">and spcd.check_type= #{checkType}</if>
|
<if test="checkType!=null and checkType>0">and spcd.check_type= #{checkType}</if>
|
||||||
<if test="deptId !=null and deptId > 0 ">
|
<if test="deptId !=null and deptId > 0 ">
|
||||||
and sp.deptId=#{deptId}
|
and sp.deptId=#{deptId}
|
||||||
|
|
Loading…
Reference in New Issue