常熟吴彦祖 2 months ago
parent
commit
4195e511b5
  1. 2
      src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java
  2. 2
      src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml

2
src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java

@ -1981,7 +1981,7 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService {
if (currentStation == null) {
throw new RuntimeException("无法获取栈板当前所在站点");
}
int ifZuPan = wcsIntegrationMapper.countPalletDetailWithWcsFlagOne(site,palletId);
int ifZuPan = wcsIntegrationMapper.countPalletDetailWithWcsFlagOne(site,palletId);
if(ifZuPan>0){
throw new RuntimeException("栈板还有未提交的分拣数据,清先提交分拣!");

2
src/main/resources/mapper/automatedWarehouse/WcsIntegrationMapper.xml

@ -1351,7 +1351,7 @@
<select id="countPalletDetailWithWcsFlagOne" resultType="int">
SELECT COUNT(1)
FROM pallet_detail
WHERE site = #{site} AND pallet_id = #{palletId} AND wcs_flag = 0
WHERE site = #{site} AND pallet_id = #{palletId} AND wcs_flag = 1
</select>
<!-- rqrq - 更新栈板所有明细的wcs_flag为1 -->

Loading…
Cancel
Save