代码提交
This commit is contained in:
parent
67d83e83c2
commit
34288042b0
|
|
@ -89,7 +89,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<update id="updateMaDevInfo">
|
||||
UPDATE ma_dev_info
|
||||
set ma_status = #{maStatus}
|
||||
set ma_status = #{maStatus},
|
||||
change_status=#{maStatus}
|
||||
WHERE code = #{devCode}
|
||||
</update>
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and m1.qc_code like concat('%',#{qcCode},'%')
|
||||
</if>
|
||||
<if test="qcStartTime != null and qcStartTime != '' and qcEndTime != null and qcEndTime != ''">
|
||||
and DATE_FORMAT(m1.qc_time,'%Y-%m-%d') between #{qcStartTime} and #{qcEndTime}
|
||||
and DATE_FORMAT(m1.next_check_time,'%Y-%m-%d') between #{qcStartTime} and #{qcEndTime}
|
||||
</if>
|
||||
<if test="createStartTime != null and createStartTime != '' and createEndTime != null and createEndTime != ''">
|
||||
and DATE_FORMAT(m1.create_time,'%Y-%m-%d') between #{createStartTime} and #{createEndTime}
|
||||
|
|
|
|||
|
|
@ -104,9 +104,11 @@
|
|||
<if test="isScrapFilter != null">
|
||||
<if test="isScrapFilter==0">
|
||||
ma_status='1',
|
||||
change_status='1',
|
||||
</if>
|
||||
<if test="isScrapFilter==1">
|
||||
ma_status='99',
|
||||
change_status='4',
|
||||
</if>
|
||||
</if>
|
||||
<if test="createBy != null">
|
||||
|
|
|
|||
Loading…
Reference in New Issue