|
|
|
@ -4,24 +4,24 @@
|
|
|
|
|
<select id="filterGroupList" parameterType="com.glxp.api.req.inout.IoSplitFifoCodeRequest"
|
|
|
|
|
resultType="com.glxp.api.res.inout.IoSplitCodeResponse">
|
|
|
|
|
SELECT io_split_fifo_code.*,
|
|
|
|
|
sum(totalCount) as groupCount,
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.bzgg,
|
|
|
|
|
bu.useLevelUnit,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs,
|
|
|
|
|
bc.name supName,
|
|
|
|
|
sw.workPlaceName
|
|
|
|
|
sum(totalCount) as groupCount,
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.bzgg,
|
|
|
|
|
bu.useLevelUnit,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs,
|
|
|
|
|
bc.name supName,
|
|
|
|
|
sw.workPlaceName
|
|
|
|
|
FROM io_split_fifo_code
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
left join basic_corp bc on bc.erpId = io_split_fifo_code.supId
|
|
|
|
|
left join sys_workplace sw on sw.workplaceId = io_split_fifo_code.workPlaceCode
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
left join basic_corp bc on bc.erpId = io_split_fifo_code.supId
|
|
|
|
|
left join sys_workplace sw on sw.workplaceId = io_split_fifo_code.workPlaceCode
|
|
|
|
|
<where>
|
|
|
|
|
<if test="code != '' and code != null">
|
|
|
|
|
AND code LIKE #{code}
|
|
|
|
@ -62,19 +62,19 @@
|
|
|
|
|
<select id="filterList" parameterType="com.glxp.api.req.inout.IoSplitFifoCodeRequest"
|
|
|
|
|
resultType="com.glxp.api.res.inout.IoSplitCodeResponse">
|
|
|
|
|
SELECT io_split_fifo_code.*,
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.bzgg,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bu.useLevelUnit,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.bzgg,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bu.useLevelUnit,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs
|
|
|
|
|
FROM io_split_fifo_code
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
<where>
|
|
|
|
|
<if test="code != '' and code != null">
|
|
|
|
|
AND code LIKE #{code}
|
|
|
|
@ -109,18 +109,18 @@
|
|
|
|
|
|
|
|
|
|
<select id="findInvRemind" parameterType="long" resultType="com.glxp.api.res.inout.IoSplitCodeResponse">
|
|
|
|
|
SELECT io_split_fifo_code.*,
|
|
|
|
|
sum(totalCount) as groupCount,
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs
|
|
|
|
|
sum(totalCount) as groupCount,
|
|
|
|
|
bp.cpmctymc,
|
|
|
|
|
bp.ggxh,
|
|
|
|
|
bp.ylqxzcrbarmc,
|
|
|
|
|
bp.manufactory,
|
|
|
|
|
bp.measname,
|
|
|
|
|
bp.zczbhhzbapzbh,
|
|
|
|
|
bp.ybbm,
|
|
|
|
|
bp.zxxsdycpbs
|
|
|
|
|
FROM io_split_fifo_code
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
LEFT JOIN basic_udirel bu ON bu.id = io_split_fifo_code.relId
|
|
|
|
|
LEFT JOIN basic_products bp ON bu.uuid = bp.uuid
|
|
|
|
|
<where>
|
|
|
|
|
<if test="workPlaceCode != null">
|
|
|
|
|
AND workPlaceCode = #{workPlaceCode}
|
|
|
|
|