业务类型

workplace
zane 10 months ago
parent e2e9ebaf36
commit 67f5f5c2bc

@ -27,6 +27,11 @@ public class IoSplitFifoInvRequest extends ListPageRequest {
*/
private String invCode;
/**
*
*/
private String busType;
/**
*
*/

@ -28,6 +28,11 @@ public class IoSplitInvResponse {
*/
private String invCode;
/**
*
*/
private String busType;
/**
*
*/
@ -124,6 +129,7 @@ public class IoSplitInvResponse {
private String useLevelUnit;
private String nameCode;
private Integer remindState;
private String busName;
}

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

Loading…
Cancel
Save