You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/resources/mybatis/mapper/inout/IoOrderMutiSetMapper.xml

19 lines
978 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.dao.inout.IoOrderMutiSetMapper">
<select id="filterList" parameterType="com.glxp.api.req.inout.IoOrderMutiSetRequest"
resultType="com.glxp.api.res.inout.IoOrderMutiSetResponse">
SELECT io.*,
(SELECT NAME FROM auth_warehouse aw WHERE aw.CODE = io.curInv) invName,
(SELECT NAME FROM basic_corp bc WHERE bc.erpId = io.fromCorp) fromCorpName,
(SELECT NAME FROM basic_bussiness_type bus WHERE bus.action = io.targetAction) targetActionName
FROM io_order_muti_set io
left join auth_warehouse a1 on a1.code=io.curInv
<where>
<if test=" curInv!= '' and curInv != null">
and a1.name = #{curInv}
</if>
</where>
</select>
</mapper>