|
|
@@ -261,6 +261,7 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
*/
|
|
|
@Transactional(rollbackFor = {Exception.class})
|
|
|
public ResponseResultVO<?> otherInboundUpdate(InboundVO inboundVO) {
|
|
|
+
|
|
|
//region 小编辑
|
|
|
if (!inboundVO.getLimitEdit()) {
|
|
|
Inbound inbound = new Inbound();
|
|
|
@@ -282,6 +283,7 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
}
|
|
|
}
|
|
|
//endregion
|
|
|
+
|
|
|
//region 大编辑
|
|
|
else {
|
|
|
//region 明细数量金额 求和
|
|
|
@@ -309,7 +311,8 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
inboundItemVO.setIntoQty(inboundItemVO.getIntoingQty());
|
|
|
inboundItemVO.setIntoAmt(inboundItemVO.getIntoingAmt());
|
|
|
inboundItemVO.setAddOrEditFlag(false);
|
|
|
- inboundItemVO.setUpdateOtherIntoInvFlag(true);
|
|
|
+ //todo 2024年7月17日15:06:51 在查询的地方处理了
|
|
|
+// inboundItemVO.setUpdateOtherIntoInvFlag(true);
|
|
|
//endregion
|
|
|
|
|
|
InboundItem inboundItem = new InboundItem();
|
|
|
@@ -361,7 +364,8 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
//region 将库存需要的参数赋值
|
|
|
inboundItemVO.setInventoryType(Constant.InventoryType.INBOUND.getName());
|
|
|
inboundItemVO.setInventoryDocCode(Constant.InventoryDocCode.OTHER_INBOUND.getValue());
|
|
|
- inboundItemVO.setUpdateOtherIntoInvFlag(true);
|
|
|
+ //todo 2024年7月17日15:06:51 在查询的地方处理了
|
|
|
+// inboundItemVO.setUpdateOtherIntoInvFlag(true);
|
|
|
//endregion
|
|
|
|
|
|
if (inboundItemVO.getItemId() != null) {
|
|
|
@@ -469,6 +473,7 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
|
|
|
}
|
|
|
//endregion
|
|
|
+
|
|
|
return ResponseResultUtil.success(inboundVO);
|
|
|
}
|
|
|
|
|
|
@@ -738,6 +743,8 @@ public class InboundOtherService extends BaseService<Inbound> {
|
|
|
inboundItemResponse.setInventoryDocCode(Constant.InventoryDocCode.OTHER_INBOUND.getValue());
|
|
|
inboundItemResponse.setIntoQty(inboundItemResponse.getIntoQty().negate());
|
|
|
inboundItemResponse.setIntoAmt(inboundItemResponse.getIntoAmt().negate());
|
|
|
+ //endregion
|
|
|
+
|
|
|
//region
|
|
|
InboundItem inboundItem = new InboundItem();
|
|
|
inboundItem
|