|
|
|
@ -305,6 +305,7 @@ public class InvCountOrderServiceImpl implements InvCountOrderService {
|
|
|
|
|
warehouseEntity.setSupId("");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
invCountOrder.setInOrderIds(order.getId());
|
|
|
|
|
orderDao.insertOrder(order);
|
|
|
|
|
codesTempDao.insertCodesTemp(inOrderCodes);
|
|
|
|
|
log.info("盘盈入库单据生成成功");
|
|
|
|
@ -323,6 +324,8 @@ public class InvCountOrderServiceImpl implements InvCountOrderService {
|
|
|
|
|
String supId = codesDao.selectSupIdByCode(warehouseEntity.getCode());
|
|
|
|
|
warehouseEntity.setSupId(supId);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
invCountOrder.setOutOrderIds(order.getId());
|
|
|
|
|
orderDao.insertOrder(order);
|
|
|
|
|
codesTempDao.insertCodesTemp(outOrderCodes);
|
|
|
|
|
log.info("盘亏入库单据生成成功");
|
|
|
|
@ -387,7 +390,7 @@ public class InvCountOrderServiceImpl implements InvCountOrderService {
|
|
|
|
|
|
|
|
|
|
//构造单据数据
|
|
|
|
|
OrderEntity orderEntity = new OrderEntity();
|
|
|
|
|
orderEntity.setMainAction(type);
|
|
|
|
|
orderEntity.setMainAction(bussinessTypeEntity.getMainAction());
|
|
|
|
|
orderEntity.setAction(invCountSettingEntity.getInAction());
|
|
|
|
|
orderEntity.setActDate(DateUtil.date().toString(DatePattern.NORM_DATETIME_PATTERN));
|
|
|
|
|
orderEntity.setCreateTime(orderEntity.getActDate());
|
|
|
|
|