|
@@ -1012,12 +1012,12 @@
|
|
|
<update id="addCheckPdfInfoByNodeId" >
|
|
|
update u_information_query a set a.chek_status=1
|
|
|
where a.is_deleted = 0 and a.classify=#{classify} and a.wbs_id
|
|
|
- in( select b.p_key_id from m_wbs_tree_contract b where b.is_deleted = 0 and b.ancestors_p_id like CONCAT(CONCAT('%', #{ids}), '%') and b.is_deleted = 0) and a.status in(1,2)
|
|
|
+ in( select b.p_key_id from m_wbs_tree_contract b where b.is_deleted = 0 and b.ancestors_p_id like CONCAT(CONCAT('%', #{ids}), '%') and b.is_deleted = 0) and a.status = 2
|
|
|
</update>
|
|
|
|
|
|
<update id="addCheckPdfInfoByIds">
|
|
|
update u_information_query set chek_status=1
|
|
|
- where is_deleted = 0 and classify=#{classify} and id in
|
|
|
+ where status = 2 and is_deleted = 0 and classify=#{classify} and id in
|
|
|
<foreach collection="ids" item="id" open="(" separator="," close=")">
|
|
|
#{id}
|
|
|
</foreach>
|