Commit f9a94cfd by 徐高华

更新审批结果

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