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