Commit 07c393de by huangZW

111

parent b987c597
......@@ -102,6 +102,10 @@ public class AuditApiServiceImpl implements AuditApiService{
List<String> staffIds = new ArrayList<>();
List<String> storeIds = new ArrayList<>();
if(StringUtils.isNotEmpty(search)){
// List<StoreDTO> list = storeService.searchStoreByCodeOrName(enterpriseId,search);
List<TabHaobanDepartment> departmentList = departmentMapper.listDepartmentLikeName(search);
if(CollectionUtil.isNotEmpty(departmentList)){
departmentIds = departmentList.stream().map(s->s.getDepartmentId()).collect(Collectors.toList());
......@@ -358,9 +362,9 @@ public class AuditApiServiceImpl implements AuditApiService{
}else if(StoreFieldEnum.STORE_NAME.getValue().equals(changeField)){
//门店名字
store.setStoreName(newValue);
TabHaobanDepartment tab = departmentMapper.getByRelatedId(store.getStoreId());
tab.setDepartmentName(newValue);
departmentMapper.updateByPrimaryKey(tab);
// TabHaobanDepartment tab = departmentMapper.getByRelatedId(store.getStoreId());
// tab.setDepartmentName(newValue);
// departmentMapper.updateByPrimaryKey(tab);
}else if(StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){
//门店图片
}
......
......@@ -450,7 +450,6 @@ public class ClerkController extends WebBaseController{
if(staffClerkRelation == null){
staffClerkRelation = new StaffClerkRelationDTO();
}
staffClerkRelation = new StaffClerkRelationDTO();
staffClerkRelation.setClerkId(clerkId);
staffClerkRelation.setClerkCode(clerkCode);
staffClerkRelation.setStoreId(clerk.getStoreId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment