Commit c7acde22 by huangZW

111

parent 70891324
...@@ -170,6 +170,9 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -170,6 +170,9 @@ public class AuditApiServiceImpl implements AuditApiService{
logger.info("code已存在"); logger.info("code已存在");
tab.setAuditStatus(5); tab.setAuditStatus(5);
auditMapper.updateByPrimaryKeySelective(tab); auditMapper.updateByPrimaryKeySelective(tab);
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(),tab);
}
return "0"; return "0";
}else{ }else{
ClerkDTO clerkDTO = clerkService.getClerkByClerkId(obj.getClerkId()); ClerkDTO clerkDTO = clerkService.getClerkByClerkId(obj.getClerkId());
...@@ -177,6 +180,9 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -177,6 +180,9 @@ public class AuditApiServiceImpl implements AuditApiService{
tab.setAuditStatus(5); tab.setAuditStatus(5);
tab.setAuditReason("gic已删除该导购"); tab.setAuditReason("gic已删除该导购");
auditMapper.updateByPrimaryKeySelective(tab); auditMapper.updateByPrimaryKeySelective(tab);
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(),tab);
}
return "0"; return "0";
}else{ }else{
staffClerkRelation = new StaffClerkRelationDTO(); staffClerkRelation = new StaffClerkRelationDTO();
...@@ -203,6 +209,9 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -203,6 +209,9 @@ public class AuditApiServiceImpl implements AuditApiService{
tab.setAuditStatus(5); tab.setAuditStatus(5);
tab.setAuditReason("gic已删除该导购"); tab.setAuditReason("gic已删除该导购");
auditMapper.updateByPrimaryKeySelective(tab); auditMapper.updateByPrimaryKeySelective(tab);
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(),tab);
}
return "0"; return "0";
}else{ }else{
boolean flag = syncHaobanToGicServiceApi.syncClerkToGicClerkAdd(tab.getCommitStoreId(), obj.getClerkCode(), obj.getSex(), obj.getStaffName(), obj.getPhoneNumber(), obj.getNationCode(), null); boolean flag = syncHaobanToGicServiceApi.syncClerkToGicClerkAdd(tab.getCommitStoreId(), obj.getClerkCode(), obj.getSex(), obj.getStaffName(), obj.getPhoneNumber(), obj.getNationCode(), 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