|
|
@ -2080,7 +2080,8 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
applicationOutMinById.setPlaceId(placeId); |
|
|
applicationOutMinById.setPlaceId(placeId); |
|
|
// 如果当前子订单中的物料并未完全出库
|
|
|
// 如果当前子订单中的物料并未完全出库
|
|
|
depositoryRecordMapper.updateApplicationOutRecordMin(applicationOutMinById); |
|
|
depositoryRecordMapper.updateApplicationOutRecordMin(applicationOutMinById); |
|
|
} else { |
|
|
} |
|
|
|
|
|
else { |
|
|
// 如果完成出库
|
|
|
// 如果完成出库
|
|
|
|
|
|
|
|
|
// 获取当前订单中所有管理员
|
|
|
// 获取当前订单中所有管理员
|
|
|
@ -2136,6 +2137,7 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
|
|
|
|
|
|
// 获取出库仓库信息
|
|
|
// 获取出库仓库信息
|
|
|
Depository depositoryRecordById = depositoryMapper.findDepositoryById(applicationOutMinById.getDepositoryId()); |
|
|
Depository depositoryRecordById = depositoryMapper.findDepositoryById(applicationOutMinById.getDepositoryId()); |
|
|
|
|
|
/* |
|
|
// 设置子订单新编码
|
|
|
// 设置子订单新编码
|
|
|
// 获取主订单单号
|
|
|
// 获取主订单单号
|
|
|
StringBuilder code = new StringBuilder(record.getCode()); |
|
|
StringBuilder code = new StringBuilder(record.getCode()); |
|
|
@ -2151,9 +2153,11 @@ public class DepositoryRecordServiceImpl implements DepositoryRecordService { |
|
|
int index = code.indexOf(conpanyName); |
|
|
int index = code.indexOf(conpanyName); |
|
|
// 生产新子订单编号
|
|
|
// 生产新子订单编号
|
|
|
String newCode = code.replace(index, index + conpanyName.length(), depositoryName).toString(); |
|
|
String newCode = code.replace(index, index + conpanyName.length(), depositoryName).toString(); |
|
|
|
|
|
|
|
|
// 设置新编码
|
|
|
// 设置新编码
|
|
|
applicationOutMinById.setCode(newCode); |
|
|
applicationOutMinById.setCode(newCode); |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 设置完成人
|
|
|
// 设置完成人
|
|
|
applicationOutMinById.setCheckId(userByPort.getId()); |
|
|
applicationOutMinById.setCheckId(userByPort.getId()); |
|
|
// 设置新库位
|
|
|
// 设置新库位
|
|
|
|