工艺工序配置BUG修复

This commit is contained in:
JinLu.Yin 2022-09-27 11:04:10 +08:00
parent bd6e9dec86
commit b407ae4e20
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ public class MdWorkstationController extends BaseController
} }
mdWorkstation.setWarehouseId(warehouse.getWarehouseId()); mdWorkstation.setWarehouseId(warehouse.getWarehouseId());
mdWorkstation.setWarehouseCode(warehouse.getWarehouseCode()); mdWorkstation.setWarehouseCode(warehouse.getWarehouseCode());
mdWorkstation.setWorkstationName(warehouse.getWarehouseName()); mdWorkstation.setWarehouseName(warehouse.getWarehouseName());
mdWorkstation.setLocationId(location.getLocationId()); mdWorkstation.setLocationId(location.getLocationId());
mdWorkstation.setLocationCode(location.getLocationCode()); mdWorkstation.setLocationCode(location.getLocationCode());
mdWorkstation.setLocationName(location.getLocationName()); mdWorkstation.setLocationName(location.getLocationName());
@ -202,7 +202,7 @@ public class MdWorkstationController extends BaseController
area = wmStorageAreaService.selectWmStorageAreaByAreaCode(UserConstants.VIRTUAL_WA); area = wmStorageAreaService.selectWmStorageAreaByAreaCode(UserConstants.VIRTUAL_WA);
} }
mdWorkstation.setWarehouseCode(warehouse.getWarehouseCode()); mdWorkstation.setWarehouseCode(warehouse.getWarehouseCode());
mdWorkstation.setWorkstationName(warehouse.getWarehouseName()); mdWorkstation.setWarehouseName(warehouse.getWarehouseName());
mdWorkstation.setLocationCode(location.getLocationCode()); mdWorkstation.setLocationCode(location.getLocationCode());
mdWorkstation.setLocationName(location.getLocationName()); mdWorkstation.setLocationName(location.getLocationName());
mdWorkstation.setAreaCode(area.getAreaCode()); mdWorkstation.setAreaCode(area.getAreaCode());

View File

@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="checkUnique" parameterType="ProRouteProductBom" resultMap="ProRouteProductBomResult"> <select id="checkUnique" parameterType="ProRouteProductBom" resultMap="ProRouteProductBomResult">
<include refid="selectProRouteProductBomVo"/> <include refid="selectProRouteProductBomVo"/>
where route_id = #{routeId} where item_id = #{itemId}
and process_id = #{processId} and process_id = #{processId}
and product_id = #{productId} and product_id = #{productId}
</select> </select>