Commit fd32a241 authored by 廖旭伟's avatar 廖旭伟

窗口人员自评汇总

parent 6554c38f
......@@ -59,7 +59,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
protected void saveBefore(WindowWorkmanPerformEntity entity, Context context) throws AppException {
buildWindowInfo(entity);
//buildWindowInfo(entity);
StaffEntity staff = staffService.get(entity.getOwnerId());
if(staff!=null){
entity.setDeptId(staff.getDeptId());
......@@ -67,13 +67,13 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
entity.setSalaId(staff.getSalaId());
entity.setSalaName(staff.getSalaName());
}
if(entity.getWindowId()!=null) {
WindowOwnerDetailEntity windowOwnerDetailEntity = windowOwnerDetailService.selectOne(new WindowOwnerDetailQuery().windowId(entity.getWindowId()));
if(windowOwnerDetailEntity!=null){
entity.setWindowCode(windowOwnerDetailEntity.getWindowCode());
entity.setWindowName(windowOwnerDetailEntity.getWindowName());
}
}
// if(entity.getWindowId()!=null) {
// WindowOwnerDetailEntity windowOwnerDetailEntity = windowOwnerDetailService.selectOne(new WindowOwnerDetailQuery().windowId(entity.getWindowId()));
// if(windowOwnerDetailEntity!=null){
// entity.setWindowCode(windowOwnerDetailEntity.getWindowCode());
// entity.setWindowName(windowOwnerDetailEntity.getWindowName());
// }
// }
super.saveBefore(entity, context);
}
......@@ -89,7 +89,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
protected void updateBefore(WindowWorkmanPerformEntity entity, Context context) throws AppException {
buildWindowInfo(entity);
//buildWindowInfo(entity);
super.updateBefore(entity, context);
}
......@@ -144,7 +144,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
BeanUtils.copyProperties(entity, perform, BeanUtil.getNullPropertyNames(entity));
perform.setId(null);
perform.setRecordId(entity.getId());
perform.setWindowName(entity.getWindowName()+"("+entity.getWindowCode()+")");
//perform.setWindowName(entity.getWindowName()+"("+entity.getWindowCode()+")");
perform.setFromName("市政务服务大厅窗口工作人员考核汇总表");
perform.setSubmitDate(entity.getFillDate());
perform.setUpdateTime(null);
......
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