Commit bf3f468a by qwmqiuwenmin

fix

parent 81613910
......@@ -466,24 +466,12 @@ public class ClerkController extends WebBaseController{
}
StoreDTO store = storeService.getStore(clerk.getStoreId());
AuditDTO audit = new AuditDTO();
//店长提交 默认是审核通过
if(commitType == 1){
ClerkDTO storeManager = clerkService.getClerkLeaderByStoreId(clerk.getStoreId());
audit.setCommitName(storeManager.getClerkName());
audit.setAuditStatus(1);
//audit.setCommitStaffId(commitStaffId);
audit.setCommitStoreId(clerk.getStoreId());
//audit.setAuditName(auditName);
audit.setAuditStatus(1);
//audit.seta
}else{
audit.setCommitName(clerk.getClerkName());
audit.setCommitStaffId(staffId);
audit.setCommitStaffImg(staff.getHeadImg());
audit.setCommitStoreId(clerk.getStoreId());
audit.setCommitStoreName(store.getStoreName());
audit.setAuditStatus(0);
}
JSONObject json = new JSONObject();
json.put("clerkId", clerkId);
......
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