|
@@ -284,10 +284,10 @@ public class InboundPurchaseReturnService extends BaseService<Inbound> {
|
|
|
for (InboundItemVO inboundItemVO : itemList) {
|
|
for (InboundItemVO inboundItemVO : itemList) {
|
|
|
|
|
|
|
|
//region 不能新建
|
|
//region 不能新建
|
|
|
- if (inboundItemVO.getSPurItemId() == null) {
|
|
|
|
|
- throw new BaseBusinessException(ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getCode(),
|
|
|
|
|
- ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getMessage());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if (inboundItemVO.getSPurItemId() == null) {
|
|
|
|
|
+// throw new BaseBusinessException(ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getCode(),
|
|
|
|
|
+// ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getMessage());
|
|
|
|
|
+// }
|
|
|
//endregion
|
|
//endregion
|
|
|
|
|
|
|
|
//根据id查询
|
|
//根据id查询
|
|
@@ -409,10 +409,10 @@ public class InboundPurchaseReturnService extends BaseService<Inbound> {
|
|
|
List<InboundItemVO> itemList = inboundVO.getItemList();
|
|
List<InboundItemVO> itemList = inboundVO.getItemList();
|
|
|
for (InboundItemVO inboundItemVO : itemList) {
|
|
for (InboundItemVO inboundItemVO : itemList) {
|
|
|
//region 不能新建
|
|
//region 不能新建
|
|
|
- if (inboundItemVO.getSPurItemId() == null) {
|
|
|
|
|
- throw new BaseBusinessException(ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getCode(),
|
|
|
|
|
- ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getMessage());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if (inboundItemVO.getSPurItemId() == null) {
|
|
|
|
|
+// throw new BaseBusinessException(ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getCode(),
|
|
|
|
|
+// ErrorCodeEnum.ITEMS_THAT_ARE_NOT_AVAILABLE_HANDLE.getMessage());
|
|
|
|
|
+// }
|
|
|
//endregion
|
|
//endregion
|
|
|
|
|
|
|
|
//region 编辑明细
|
|
//region 编辑明细
|