From 62fdcdce89ff74f11acf4dbff30fbb87eab67a2b Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Fri, 9 Aug 2024 08:45:15 +0800 Subject: [PATCH] box_ix->box_id --- .../mapper/bracelet/BraceletMapper.xml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/bonus-modules/bonus-bracelet/src/main/resources/mapper/bracelet/BraceletMapper.xml b/bonus-modules/bonus-bracelet/src/main/resources/mapper/bracelet/BraceletMapper.xml index 9915c45..262c0e5 100644 --- a/bonus-modules/bonus-bracelet/src/main/resources/mapper/bracelet/BraceletMapper.xml +++ b/bonus-modules/bonus-bracelet/src/main/resources/mapper/bracelet/BraceletMapper.xml @@ -8,7 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select tb.id as shId,tb.sh_code as shCode,sh_status as shStatus,tsb.box_name as shboxName, tsb.box_code as shboxCode,tb.peopel_type as shPersonType,tb.bid_id as shPersonId,tsb.id as shboxId from tb_bracelet tb - left join tb_sh_box tsb on tb.box_ix = tsb.id and tsb.del_flag = 0 + left join tb_sh_box tsb on tb.box_id = tsb.id and tsb.del_flag = 0 where tb.del_flag = 0 AND INSTR(tb.sh_code,#{shCode}) > 0 @@ -27,10 +27,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id as shId,sh_code as shCode from tb_bracelet - where box_ix is NULL and del_flag = 0 + where box_id is NULL and del_flag = 0 order by id ASC @@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select tsb.id as shboxId, tsb.box_name as shboxName,tsb.box_code as shboxCode,tsb.box_capacity as shboxCapacity,count(tb.id) as shboxBindNum from tb_sh_box tsb - left join tb_bracelet tb on tsb.id = tb.box_ix and tb.del_flag = 0 + left join tb_bracelet tb on tsb.id = tb.box_id and tb.del_flag = 0 where tsb.del_flag = 0 AND (INSTR(tsb.box_name,#{keyword}) > 0 or @@ -169,7 +169,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into tb_bracelet( - box_ix, + box_id, sh_code, sh_status, del_flag @@ -222,14 +222,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" UPDATE tb_bracelet - SET box_ix = #{shboxId},bid_time = now(),sh_status = 0 + SET box_id = #{shboxId},bid_time = now(),sh_status = 0 where id = #{shId} UPDATE tb_bracelet - SET box_ix = null,sh_status = 1 + SET box_id = null,sh_status = 1 where id = #{shId} @@ -257,7 +257,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"