|
|
@ -41,12 +41,14 @@
|
|
|
|
bp.ybbm,
|
|
|
|
bp.ybbm,
|
|
|
|
bp.zxxsdycpbs,
|
|
|
|
bp.zxxsdycpbs,
|
|
|
|
bc.name supName,
|
|
|
|
bc.name supName,
|
|
|
|
sw.workPlaceName
|
|
|
|
sw.workPlaceName,
|
|
|
|
|
|
|
|
swd.busName
|
|
|
|
from io_split_fifo_inv isfi
|
|
|
|
from io_split_fifo_inv isfi
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = isfi.relId
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = isfi.relId
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
left join basic_corp bc on bc.erpId = isfi.supId
|
|
|
|
left join basic_corp bc on bc.erpId = isfi.supId
|
|
|
|
left join sys_workplace sw on sw.workplaceId = isfi.workPlaceCode
|
|
|
|
left join sys_workplace sw on sw.workplaceId = isfi.workPlaceCode
|
|
|
|
|
|
|
|
left join sys_workplace_document swd on swd.documentTypeCode = isfi.busType
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="relId != null">
|
|
|
|
<if test="relId != null">
|
|
|
|
AND isfi.relId = #{relId}
|
|
|
|
AND isfi.relId = #{relId}
|
|
|
@ -72,6 +74,9 @@
|
|
|
|
<if test="workPlaceCode != null">
|
|
|
|
<if test="workPlaceCode != null">
|
|
|
|
AND isfi.workPlaceCode = #{workPlaceCode}
|
|
|
|
AND isfi.workPlaceCode = #{workPlaceCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="busType != null and busType != ''">
|
|
|
|
|
|
|
|
ANd isfi.busType = #{busType}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|