优化商品模块

This commit is contained in:
季圣华
2020-12-11 00:57:37 +08:00
parent c5ac7f09ac
commit bf032afecb
4 changed files with 35 additions and 7 deletions

View File

@@ -253,4 +253,12 @@
group by m.name
order by m.name asc
</select>
<update id="setUnitIdToNull">
update jsh_material
set unit_id = null
where 1=1
and ifnull(delete_flag,'0') !='1'
and id = #{id}
</update>
</mapper>