From eea4def7d653d421b52903521e8121c9d9ab0986 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Thu, 25 Sep 2025 11:20:48 +0800 Subject: [PATCH] feat(mall): 添加事务注解并校验公司编码 - 在 xcxSaveInfo 方法上添加 @Transactional 注解 - 校验公司编码是否存在,不存在则抛出异常 - 优化公司信息查询逻辑,确保数据一致性 --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index 539929e..4a0eaa0 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -453,9 +453,6 @@ <if test="record.status == 5"> and a.status = 7 or b.state in (2,3) </if> - <if test="record.orderType != null"> - and a.order_type=#{record.orderType} - </if> </where> order by a.created_time desc </select> -- Gitblit v1.9.1