|
|
|
@ -158,7 +158,7 @@ public class IoOrderDetailBizController extends BaseController {
|
|
|
|
|
orderEntity.setCreateTime(new Date());
|
|
|
|
|
orderEntity.setMainAction(bussinessTypeEntity.getMainAction());
|
|
|
|
|
if (StrUtil.isNotEmpty(orderEntity.getFromInvCode())) {
|
|
|
|
|
InvWarehouseEntity fromEntity = invWarehouseService.findByInvSubByCode(orderEntity.getInvCode());
|
|
|
|
|
InvWarehouseEntity fromEntity = invWarehouseService.findByInvSubByCode(orderEntity.getFromInvCode());
|
|
|
|
|
orderEntity.setFromDeptCode(fromEntity.getParentId());
|
|
|
|
|
}
|
|
|
|
|
orderEntity.setFromType(ConstantStatus.FROM_WEBNEW);
|
|
|
|
|