Commit 700f0c47 by huangZW

111

parent c7acde22
...@@ -438,7 +438,7 @@ public class ClerkController extends WebBaseController{ ...@@ -438,7 +438,7 @@ public class ClerkController extends WebBaseController{
if(staff == null){ if(staff == null){
return resultResponse(HaoBanErrCode.ERR_10006); return resultResponse(HaoBanErrCode.ERR_10006);
} }
AuditDTO auditDTO = auditApiService.findByBindRelatedIdAndAuditType(clerk.getClerkCode(),AuditType.CLERK_BIND.getCode()); AuditDTO auditDTO = auditApiService.findByBindRelatedIdAndAuditType(clerkId,AuditType.CLERK_BIND.getCode());
if(auditDTO != null){ if(auditDTO != null){
return resultResponse(HaoBanErrCode.ERR_10018); return resultResponse(HaoBanErrCode.ERR_10018);
} }
...@@ -473,7 +473,7 @@ public class ClerkController extends WebBaseController{ ...@@ -473,7 +473,7 @@ public class ClerkController extends WebBaseController{
audit.setWxEnterpriseId(wxEnterpriseId); audit.setWxEnterpriseId(wxEnterpriseId);
audit.setEnterpriseId(store.getEnterpriseId()); audit.setEnterpriseId(store.getEnterpriseId());
audit.setStatusFlag(1); audit.setStatusFlag(1);
audit.setRelatedId(clerkCode); audit.setRelatedId(clerkId);
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
json.put("clerkId", clerkId); json.put("clerkId", clerkId);
...@@ -502,7 +502,7 @@ public class ClerkController extends WebBaseController{ ...@@ -502,7 +502,7 @@ public class ClerkController extends WebBaseController{
audit.setWxEnterpriseId(wxEnterpriseId); audit.setWxEnterpriseId(wxEnterpriseId);
audit.setEnterpriseId(store.getEnterpriseId()); audit.setEnterpriseId(store.getEnterpriseId());
audit.setStatusFlag(1); audit.setStatusFlag(1);
audit.setRelatedId(clerkCode); audit.setRelatedId(clerkId);
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
json.put("clerkId", clerkId); json.put("clerkId", clerkId);
...@@ -562,7 +562,7 @@ public class ClerkController extends WebBaseController{ ...@@ -562,7 +562,7 @@ public class ClerkController extends WebBaseController{
audit.setEnterpriseId(store.getEnterpriseId()); audit.setEnterpriseId(store.getEnterpriseId());
audit.setStatusFlag(1); audit.setStatusFlag(1);
audit.setRelatedId(staffId); audit.setRelatedId(staffId);
audit.setRelatedId(clerkCode); audit.setRelatedId(clerkId);
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
json.put("clerkId", clerkId); 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