Browse Source

Merge remote-tracking branch 'origin/master'

master
常熟吴彦祖 2 weeks ago
parent
commit
a6b396a3fe
  1. 2
      src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java

2
src/main/java/com/gaotao/modules/production/service/impl/ProductionInboundServiceImpl.java

@ -580,6 +580,8 @@ public class ProductionInboundServiceImpl implements ProductionInboundService {
Location location = locationService.getByLocationIdAndSite(dto.getSite(), dto.getLocationNo());
if (location != null) {
warehouseId = location.getWarehouseId();
} else {
throw new XJException("库位不存在: " + dto.getLocationNo());
}
// 2. 生成事务号
TransNoControl transTrans = transNoService.getTransNo(dto.getSite(), "SR", 10);

Loading…
Cancel
Save