库存,预验收等bug修改

fencang
anthonyywj2 3 years ago
parent c371891881
commit 09217e3e32

@ -278,11 +278,11 @@ public class WareHouseController {
@AuthRuleAnnotation("")
@GetMapping("warehouse/inout/submitOrderWeb")
public BaseResponse submitOrderWeb(AddOrderRequest orderEntity) {
if (null != orderEntity) {
if (StrUtil.isBlank(orderEntity.getInvWarehouseCode())) {
return ResultVOUtils.error(500, "分仓未选择");
}
}
// if (null != orderEntity) {
// if (StrUtil.isBlank(orderEntity.getInvWarehouseCode())) {
// return ResultVOUtils.error(500, "分仓未选择");
// }
// }
orderService.updateOrderStatus(orderEntity.getOrderId(), ConstantStatus.ORDER_STATUS_PROCESS);
return saveOrderWeb(orderEntity);
}

@ -96,9 +96,6 @@
<if test="invWarehouseCode != '' and invWarehouseCode != null">
AND invWarehouseCode = #{invWarehouseCode}
</if>
<if test="invWarehouseCode == null">
AND invWarehouseCode is NULL
</if>
</where>
</select>

Loading…
Cancel
Save