feat:产品编码已存在
This commit is contained in:
@@ -37,6 +37,15 @@
|
||||
ORDER BY sort_order DESC
|
||||
</select>
|
||||
|
||||
<select id="queryByProductCode" resultMap="BaseResultMap">
|
||||
SELECT * FROM xfsg_pre_fried_products and deleted = 0
|
||||
<where>
|
||||
<if test="productCode != null and productCode != ''">
|
||||
AND product_code = #{productCode}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<delete id="batchDelete">
|
||||
UPDATE xfsg_pre_fried_products
|
||||
SET deleted = 1,
|
||||
|
||||
Reference in New Issue
Block a user