Commit 6ed107d9 by 王军业

4542154242545

1 parent 0a02536b
......@@ -298,7 +298,7 @@
where contract_unid=#{contract_unid}
</update>
<delete id="deleteOne" parameterType="java.lang.String">
update tb_contract set is_delete = false where contract_unid = #{contract_unid}
update tb_contract set is_delete = true where contract_unid = #{contract_unid}
<!-- delete from tb_contract where contract_unid = #{contract_unid} -->
</delete>
......@@ -688,7 +688,10 @@
select is_delete from tb_contract where contract_unid = #{contract_unid}
</select>
<select id="queryList" resultType="String">
select contract_unid from tb_contract
select contract_unid from tb_contract where
is_delete=false
and project_unid is not null
and customer_unid is not null
</select>
<select id="countNumber" resultType="int">
select count(contract_unid) from tb_contract where is_delete=false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!