Commit df98f931 by huangZW

111

parent d923cd02
...@@ -221,6 +221,7 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -221,6 +221,7 @@ public class AuditApiServiceImpl implements AuditApiService{
if(!flag){ if(!flag){
//失败 //失败
tab.setAuditStatus(5); tab.setAuditStatus(5);
tab.setAuditReason("gic新增导购失败");
auditMapper.updateByPrimaryKeySelective(tab); auditMapper.updateByPrimaryKeySelective(tab);
if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){ if(org.apache.commons.lang.StringUtils.isNotBlank(batchId)){
insertBatchLog( batchId,AuditRsultType.fail.getCode(), tab); insertBatchLog( batchId,AuditRsultType.fail.getCode(), tab);
......
...@@ -201,7 +201,9 @@ public class AuditController extends WebBaseController{ ...@@ -201,7 +201,9 @@ public class AuditController extends WebBaseController{
if(StringUtils.isEmpty(result)){ if(StringUtils.isEmpty(result)){
return resultResponse(HaoBanErrCode.ERR_1); return resultResponse(HaoBanErrCode.ERR_1);
}else{ }else{
return resultResponse(HaoBanErrCode.ERR_100016); HaoBanErrCode errCode= HaoBanErrCode.ERR_DEFINE;
errCode.setMsg(result);
return resultResponse(errCode);
} }
} }
......
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