Commit 36ee3d74 by huangZW

111

parent df98f931
......@@ -145,7 +145,7 @@ public class AuditApiServiceImpl implements AuditApiService{
public String audit(String batchId,String auditId,String auditName) {
TabHaobanAudit tab = auditMapper.selectByPrimaryKey(auditId);
if(tab==null){
return "1";
return "审核项目不存在";
}
int auditType = tab.getAuditType();
tab.setAuditId(auditId);
......@@ -184,7 +184,7 @@ public class AuditApiServiceImpl implements AuditApiService{
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(),tab);
}
return "0";
return "该成员在该门店下已经绑定过一个导购了";
}
ClerkDTO clerkDTO = clerkService.getClerkByClerkId(obj.getClerkId());
......@@ -195,7 +195,7 @@ public class AuditApiServiceImpl implements AuditApiService{
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(),tab);
}
return "0";
return "gic已删除该导购";
}else{
if(staffClerkRelation == null){
staffClerkRelation = new StaffClerkRelationDTO();
......@@ -226,7 +226,7 @@ public class AuditApiServiceImpl implements AuditApiService{
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(), tab);
}
return "0";
return "gic新增导购失败";
}else{
//成功
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
......
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