Commit 5b56f7ea by yubin

库位修改

parent 7c470ce3
......@@ -150,12 +150,10 @@
</foreach>
</select>
<!-- 库位字典查询(简化) -->
<!-- 获取库位表 的 location_code 编码 location_name 做成字典-->
<select id="getMapList" parameterType="StorageLocations" resultType="java.util.Map">
select sl.location_code, IFNULL(sl.location_name, '') as location_name
from storage_locations sl
where sl.is_used = 1
<if test="warehousesCode != null and warehousesCode != ''"> and sl.warehouses_code = #{warehousesCode}</if>
select id, IFNULL(location_name, '') as location_name from storage_locations where is_used = 1
<if test="warehousesCode != null and warehousesCode != ''"> and warehouses_id = #{warehousesCode}</if>
</select>
<!-- 关联仓库的字典查询 -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论