修改bug

master
wangwei 2 years ago
parent 16d6956006
commit 04cd602d73

@ -112,8 +112,8 @@ public class SupManufacturerController {
if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE || supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_UN) { if (supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_CHANGE || supManufacturerEntity.getAuditStatus() == ConstantStatus.AUDIT_UN) {
//判断是否上级供应商是否审核通过 //判断是否上级供应商是否审核通过
SupCompanyEntity supCompanyEntity = supCompanyService.findCompany(supManufacturerEntity.getCustomerId()); SupCompanyEntity supCompanyEntity = supCompanyService.findCompany(supManufacturerEntity.getCustomerId());
if (supCompanyEntity.getAuditStatus() == ConstantStatus.AUDIT_UN if (supCompanyEntity.getAuditStatus() != ConstantStatus.AUDIT_PASS
|| supCompanyEntity.getAuditStatus() == ConstantStatus.AUDIT_DRAFT) { ) {
return ResultVOUtils.error(500, "所属配送企业资质未通过审核,暂时无法提交!"); return ResultVOUtils.error(500, "所属配送企业资质未通过审核,暂时无法提交!");
} }

Loading…
Cancel
Save