|
|
|
@ -93,6 +93,12 @@ public class RohsController { |
|
|
|
if (StringUtils.isBlank(rohs.getSite()) || StringUtils.isBlank(rohs.getReferenceNo())) { |
|
|
|
return R.error("工厂(site)和序列号(referenceNo)不能为空"); |
|
|
|
} |
|
|
|
if (StringUtils.isBlank(rohs.getEndCustomer())) { |
|
|
|
return R.error("最终客户(endCustomer)不能为空"); |
|
|
|
} |
|
|
|
if (StringUtils.isBlank(rohs.getProjectId())) { |
|
|
|
return R.error("项目编码(projectId)不能为空"); |
|
|
|
} |
|
|
|
String currentUserName = getCurrentUserName(); |
|
|
|
|
|
|
|
String originalReferenceNo = rohs.getReferenceNo(); |
|
|
|
|