From 4e88d81927a660254005ff247ea79a42616388b4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 04 Aug 2022 17:32:01 +0800
Subject: [PATCH] 20220804  配送限制

---
 src/main/resources/mapper/modules/MallTeamLeaderMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallTeamLeaderMapper.xml b/src/main/resources/mapper/modules/MallTeamLeaderMapper.xml
index b80a2d7..963961c 100644
--- a/src/main/resources/mapper/modules/MallTeamLeaderMapper.xml
+++ b/src/main/resources/mapper/modules/MallTeamLeaderMapper.xml
@@ -70,6 +70,7 @@
         <result column="latitude" property="latitude" />
         <result column="order_type" property="orderType" />
         <result column="comment_state" property="commentState" />
+        <result column="delivery_state" property="deliveryState" />
         <result column="carriage" property="carriage" />
         <result column="remark" property="remark" />
         <result column="del_flag" property="delFlag" />
@@ -146,7 +147,7 @@
         select
             a.*
         from mall_team_leader a
-        where a.unique_code = #{uniqueCode} limit 1
+        where a.unique_code = #{uniqueCode} and a.state = 1 limit 1
     </select>
 
     <select id="selectLeaderByLonAndLat" resultType="cc.mrbird.febs.mall.entity.MallTeamLeader">

--
Gitblit v1.9.1