|
@@ -135,8 +135,8 @@ public class WebsitPartsNewInLogic {
|
|
|
String sendUnitArea = (String) row.get(20);
|
|
|
String receiveUnitArea = (String) row.get(21);
|
|
|
String repairCustomNo = (String) row.get(22);
|
|
|
- if (StringUtils.isBlank(objectType) || !"新件申领".contains(objectType)) {
|
|
|
- throw new RemoteServiceException("第" + (i + 2) + "行,事物类型格式不符,只能是“新件申领”");
|
|
|
+ if (StringUtils.isBlank(objectType) || !"新件申领,调整库存".contains(objectType)) {
|
|
|
+ throw new RemoteServiceException("第" + (i + 2) + "行,事物类型格式不符,只能是“新件申领“或”调整库存”");
|
|
|
}
|
|
|
if (StringUtils.isBlank(voucherNo)) {
|
|
|
throw new RemoteServiceException("第" + (i + 2) + "行,凭证号不能为空");
|