change Categorys

This commit is contained in:
Kana
2024-01-05 09:44:25 +09:00
parent 1d0f4d85ec
commit 436adb7ec7
4 changed files with 67 additions and 12 deletions

View File

@@ -15,19 +15,19 @@
<update id="updateByKanCode" parameterType="CategoryDto">
UPDATE product_category
SET cls_nm_1 = #{dto.cls_nm_1}, cls_nm_2 = #{dto.cls_nm_2},cls_nm_3 = #{dto.cls_nm_3}, cls_nm_4 = #{dto.cls_nm_4}
WHERE kan_code = {dto.kan_code}
WHERE kan_code = #{dto.kan_code}
</update>
<update id="deactivateByKanCode" parameterType="String">
UPDATE product_category
SET activation = 0
WHERE kan_code = {kan_code}
WHERE kan_code = #{kan_code}
</update>
<update id="activateByKanCode" parameterType="String">
UPDATE product_category
SET activation = 1
WHERE kan_code = {kan_code}
WHERE kan_code = #{kan_code}
</update>