From 458d517fd73b6829a6e688673591a812dfd668da Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Tue, 13 Aug 2024 17:44:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E7=8E=AF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/bracelet/BraceletMapper.xml | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 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 c6b8628..e4be8c6 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 @@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" UPDATE tb_bracelet tb set - box_ix = #{shboxId}, + box_id = #{shboxId}, sh_status = #{shStatus},sh_code = #{shCode} where id = #{shId} @@ -176,7 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into tb_bracelet( - box_ix, + box_id, sh_code, sh_status, del_flag @@ -259,14 +259,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} @@ -294,7 +294,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"