|
@@ -153,8 +153,8 @@ public class QualityFeedbackLogic {
|
|
|
if (StringUtils.isBlank(bean.getSeriesName())) {
|
|
|
throw new RemoteServiceException("系列名称不能为空");
|
|
|
}
|
|
|
- if (StringUtils.isBlank(bean.getProductName())) {
|
|
|
- throw new RemoteServiceException("机型名称不能为空");
|
|
|
+ if (StringUtils.isBlank(bean.getInsideProductName())) {
|
|
|
+ throw new RemoteServiceException("内机型号不能为空");
|
|
|
}
|
|
|
if (StringUtils.isBlank(bean.getInsideCode())) {
|
|
|
throw new RemoteServiceException("内机条码不能为空");
|
|
@@ -169,6 +169,9 @@ public class QualityFeedbackLogic {
|
|
|
if ("空调,空气能热水器".contains(bean.getMainName()) && StringUtils.isBlank(bean.getOutCode())) {
|
|
|
throw new RemoteServiceException("外机条码不能为空");
|
|
|
}
|
|
|
+ if ("空调,空气能热水器".contains(bean.getMainName()) && StringUtils.isBlank(bean.getOutProductName())) {
|
|
|
+ throw new RemoteServiceException("外机型号不能为空");
|
|
|
+ }
|
|
|
if (StringUtils.isNotBlank(bean.getOutCode())) {
|
|
|
count = qualityFeedbackService.lambdaQuery()
|
|
|
.eq(QualityFeedback::getOutCode, bean.getOutCode())
|