删除客户导购关系

dev_0531
yechenhao 5 years ago
parent 5098a86107
commit 2870185ea0

@ -386,7 +386,7 @@ public class CustomerService {
PoiStoreStaff staff;
QueryWrapper<PoiStoreStaff> staffQw = new QueryWrapper<>();
if (StringUtils.isNotBlank(eaCode) && !"0".equals(eaCode)) {
staffQw.eq("staff_code", eaCode).eq("type", 4).eq("store_id", poiStore.getStoreId()).last("limit 1");
staffQw.eq("staff_code", eaCode).eq("store_id", poiStore.getStoreId()).last("limit 1");
staff = poiStoreStaffDOMapper.selectOne(staffQw);
} else {
staffQw.eq("staff_code", turnBackDTOS.getUserId()).eq("type", 1).eq("store_id", poiStore.getStoreId()).last("limit 1");

Loading…
Cancel
Save