|
|
@ -1075,7 +1075,7 @@ public class StoreEmployeeService {
|
|
|
|
PrivilageCpUserDO privilageCpUserDO = privilageCpUserDOMapper.selectOne(cpUserQw);
|
|
|
|
PrivilageCpUserDO privilageCpUserDO = privilageCpUserDOMapper.selectOne(cpUserQw);
|
|
|
|
PrivilageCpUserStoreDO privilageCpUserStoreDO;
|
|
|
|
PrivilageCpUserStoreDO privilageCpUserStoreDO;
|
|
|
|
QueryWrapper<PrivilageCpUserStoreDO> cpUserRelationQwByStore = new QueryWrapper<>();
|
|
|
|
QueryWrapper<PrivilageCpUserStoreDO> cpUserRelationQwByStore = new QueryWrapper<>();
|
|
|
|
cpUserRelationQwByStore.eq("store_id",privilageCpUserDO.getId()).last("limit 1");
|
|
|
|
cpUserRelationQwByStore.eq("store_id",poiStore.getId()).last("limit 1");
|
|
|
|
privilageCpUserStoreDO = privilageCpUserStoreDOMapper.selectOne(cpUserRelationQwByStore);
|
|
|
|
privilageCpUserStoreDO = privilageCpUserStoreDOMapper.selectOne(cpUserRelationQwByStore);
|
|
|
|
if (privilageCpUserStoreDO != null){
|
|
|
|
if (privilageCpUserStoreDO != null){
|
|
|
|
throw new KiisooException(Constants.MSG_DOMAIN_ENTITY_HAS, Constants.CODE_DOMAIN_ENTITY_HAS);
|
|
|
|
throw new KiisooException(Constants.MSG_DOMAIN_ENTITY_HAS, Constants.CODE_DOMAIN_ENTITY_HAS);
|
|
|
|