|
|
|
@ -160,7 +160,7 @@ public class IoCodeTempController extends BaseController {
|
|
|
|
|
if (collectOrder == null) {
|
|
|
|
|
//查询原始单据查到为异常提示
|
|
|
|
|
IoCollectOrderOrigin ioCollectOrigin = collectOriginService.getOrderByCode(code);
|
|
|
|
|
if (ioCollectOrigin != null){
|
|
|
|
|
if (ioCollectOrigin != null) {
|
|
|
|
|
BaseResponse response = ResultVOUtils.error(501, "单据已下载,转化异常");
|
|
|
|
|
response.setData(code);
|
|
|
|
|
return response;
|
|
|
|
@ -580,7 +580,7 @@ public class IoCodeTempController extends BaseController {
|
|
|
|
|
addOrderRequest.setBillNo(ioOrderEntity.getBillNo());
|
|
|
|
|
}
|
|
|
|
|
//TODO 退货校验是否有库存 提示产品不存在
|
|
|
|
|
if(StrUtil.equals("return",addOrderRequest.getSplitType())){
|
|
|
|
|
if (StrUtil.equals("return", addOrderRequest.getSplitType())) {
|
|
|
|
|
//ioSplitFifoInvService.getOne(new LambdaQueryWrapper<IoSplitFifoInv>().eq(IoSplitFifoInv::getInvCode,"").last("limit 1"));
|
|
|
|
|
}
|
|
|
|
|
if (IntUtil.value(udiEntity.getProductType()) == 2) {
|
|
|
|
|