From ef3c337abda05e63cc1856f81c04cc317de4724f Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 02 Sep 2024 10:52:53 +0800 Subject: [PATCH] test和数据库连接 --- src/main/resources/mapper/modules/MallOrderItemMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderItemMapper.xml b/src/main/resources/mapper/modules/MallOrderItemMapper.xml index 8bfdc43..79a5ec9 100644 --- a/src/main/resources/mapper/modules/MallOrderItemMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderItemMapper.xml @@ -19,6 +19,11 @@ where a.state != #{state} and a.order_id=#{orderId} </select> + <select id="selectListByStateAndOrderId" resultType="cc.mrbird.febs.mall.entity.MallOrderItem"> + select a.* from mall_order_item a + where a.state = #{state} and a.order_id=#{orderId} + </select> + <update id="updateStateByOrderId"> update mall_order_item set state = #{state} -- Gitblit v1.9.1