Commit f9a94cfd by 徐高华

更新审批结果

parent 42889aa8
...@@ -310,8 +310,11 @@ public class AuditController extends WebBaseController { ...@@ -310,8 +310,11 @@ public class AuditController extends WebBaseController {
} }
if (audit.getAuditType() == AuditType.CLERK_ADD.getCode()) { if (audit.getAuditType() == AuditType.CLERK_ADD.getCode()) {
//导购新增 //导购新增
boolean flag = syncHaobanToGicApiService.syncClerkToGicClerkAdd(storeId, clerkCode, sex, clerkName, phoneNumber, nationCode, null); String msg = syncHaobanToGicApiService.syncClerkToGicClerkAddNew(storeId, clerkCode, sex, clerkName, phoneNumber, nationCode, null);
if (!flag) { if (!"1".equals(msg)) {
audit.setAuditStatus(5);
audit.setAuditReason(msg);
auditApiService.update(audit);
return resultResponse(HaoBanErrCode.ERR_10010); return resultResponse(HaoBanErrCode.ERR_10010);
} }
audit.setAuditStatus(1); audit.setAuditStatus(1);
......
...@@ -37,7 +37,7 @@ public class QywxOpenController { ...@@ -37,7 +37,7 @@ public class QywxOpenController {
public RestResponse<OpenStaffVO> getOpenStaff(String staffId , @RequestParam(defaultValue = "0") int authFlag) { public RestResponse<OpenStaffVO> getOpenStaff(String staffId , @RequestParam(defaultValue = "0") int authFlag) {
ServiceResponse<OpenStaffDTO> resp = this.openStaffApiService.getByStaffId(staffId) ; ServiceResponse<OpenStaffDTO> resp = this.openStaffApiService.getByStaffId(staffId) ;
if(!resp.isSuccess()) { if(!resp.isSuccess()) {
return RestResponse.failure("9999","数据查询失败"); return RestResponse.successResult();
} }
OpenStaffVO vo = new OpenStaffVO() ; OpenStaffVO vo = new OpenStaffVO() ;
OpenStaffDTO dto = resp.getResult(); OpenStaffDTO dto = resp.getResult();
......
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