Commit 2126e418 authored by 廖旭伟's avatar 廖旭伟

绩效异常信息bug修改

parent bffd0739
...@@ -24,7 +24,7 @@ public class PerformErrorMessageServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -24,7 +24,7 @@ public class PerformErrorMessageServiceImpl extends AbstractCRUDServiceImpl<Perf
public PerformErrorMessageEntity get(Long key, Context context) throws AppException { public PerformErrorMessageEntity get(Long key, Context context) throws AppException {
PerformErrorMessageEntity entity = this.dao.get(key); PerformErrorMessageEntity entity = this.dao.get(key);
if(context!=null && entity!=null){ if(context!=null && context.getUser()!=null && entity!=null){
Long staffId = context.getUser().getCustomerId(); Long staffId = context.getUser().getCustomerId();
if(staffId!=null && staffId==entity.getStaffId()){ if(staffId!=null && staffId==entity.getStaffId()){
PerformErrorMessageEntity update = new PerformErrorMessageEntity(); PerformErrorMessageEntity update = new PerformErrorMessageEntity();
......
...@@ -65,7 +65,6 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro ...@@ -65,7 +65,6 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro
} }
@RequestMapping(value = {"info"},method = {RequestMethod.POST, RequestMethod.GET}) @RequestMapping(value = {"info"},method = {RequestMethod.POST, RequestMethod.GET})
@UnAuth
@Override @Override
public String info(Long id) { public String info(Long id) {
Map<String, Object> model = new HashMap(); Map<String, Object> model = new HashMap();
......
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