Browse Source

1.修复订单入库包件入库时间的bug

pull/31/head
zhenghaoyu 6 months ago
parent
commit
64cbfeaba6
  1. 4
      blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java

4
blade-service/logpm-factory/src/main/java/com/logpm/factory/pan/service/impl/PanFactoryDataServiceImpl.java

@ -728,12 +728,14 @@ public class PanFactoryDataServiceImpl implements IPanFactoryDataService {
entity.setDealerCode(distributionStockArticleEntity.getDealerCode());
entity.setDealerName(distributionStockArticleEntity.getDealerName());
entity.setWarehouseEntryTimeEnd(CommonUtil.StringToDate(operationTime));
if(!Objects.isNull(orderDetailEntity)){
Integer signState = orderDetailEntity.getSignState();
if(signState == 2){
entity.setOrderPackageStatus(OrderPackageStatusConstant.yiqianshou.getValue());
}
entity.setWarehouseEntryTimeEnd(orderDetailEntity.getUpdateTime());
}
// 绑定部门--仓库

Loading…
Cancel
Save