|
@@ -102,8 +102,398 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
<include refid="orderBy"></include>
|
|
|
- <if test="orderField == null ">
|
|
|
+ <if test="orderField == null">
|
|
|
order by "insertTimee" desc
|
|
|
</if>
|
|
|
</select>
|
|
|
+
|
|
|
+<!-- 查询销售统计报表 -->
|
|
|
+ <select id="getAllSaleReport" parameterType="java.util.Map" resultType="java.util.Map">
|
|
|
+ select
|
|
|
+ *
|
|
|
+ from (
|
|
|
+ select OO.ORDER_NUMBER "orderNumber",
|
|
|
+ RC.CAPACITY_NUMBER "capacityNumber",
|
|
|
+ TER.RESULT_ENTRY_GATE_TIME "resultEntryGateTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT_TIME "resultTareWeightTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT "resultTareWeight",
|
|
|
+ TLR.RESULT_LOAD_END_TIME "resultLoadEndTime",
|
|
|
+ RW.WAREHOUSE_NAME "warehouseName",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT_TIME "resultGrossWeightTime",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT "resultGrossWeight",
|
|
|
+ TWR.RESULT_NET_WEIGHT "resultNetWeight",
|
|
|
+ TLFR.RESULT_OUT_GATE_TIME "resultOutGateTime",
|
|
|
+ RTCMAO.TRUCK_CALCULATE_NUMBER "maoCalculate",
|
|
|
+ RTCPI.TRUCK_CALCULATE_NUMBER "piCalculate",
|
|
|
+ RGEN.GATEPOST_NAME "enGatepostName",
|
|
|
+ RGOUT.GATEPOST_NAME "outGatepostName",
|
|
|
+ RCON.CONSIGNEE_COMPANY_NAME "receiveName"
|
|
|
+ from OMSTRUCK_ORDER OO
|
|
|
+ left join AMS_SALE_ORDER_MATERIAL ASOM
|
|
|
+ on ASOM.SALE_ORDER_MATERIAL_ID = OO.ORDER_PLAN_ID
|
|
|
+ left join AMS_SALE_ORDER ASO
|
|
|
+ on ASO.SALE_ORDER_ID = ASOM.SALE_ORDER_ID
|
|
|
+ left join RMS_CONSIGNEE RCON
|
|
|
+ on RCON.CONSIGNEE_ID = ASO.RECEIVE_ID
|
|
|
+ join TMSTRUCK_TOTAL_RESULT TTR
|
|
|
+ on TTR.ORDER_ID = OO.ORDER_ID
|
|
|
+ join TMSTRUCK_LOAD_RESULT TLR
|
|
|
+ on TLR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_WAREHOUSE RW
|
|
|
+ on RW.WAREHOUSE_ID = TLR.LOADING_ID
|
|
|
+ join TMSTRUCK_WEIGHT_RESULT TWR
|
|
|
+ on TWR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTCMAO
|
|
|
+ on TWR.RESULT_GROSS_PLACE_ID = RTCMAO.TRUCK_CALCULATE_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTCPI
|
|
|
+ on TWR.RESULT_TARE_PLACE_ID = RTCPI.TRUCK_CALCULATE_ID
|
|
|
+ join TMSTRUCK_ENFACTORY_RESULT TER
|
|
|
+ on TER.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RGEN
|
|
|
+ on RGEN.GATEPOST_ID = TER.GATEPOST_ID
|
|
|
+ join TMSTRUCK_LEAVE_FACTORY_RESULT TLFR
|
|
|
+ on TLFR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RGOUT
|
|
|
+ on RGOUT.GATEPOST_ID = TLFR.GATEPOST_ID
|
|
|
+ join RMS_CAPACITY RC
|
|
|
+ on RC.CAPACITY_ID = OO.CAPACITY_ID
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ join RMS_CARRIER RCA
|
|
|
+ on RCA.CARRIER_ID = RC.CARRIER_ID
|
|
|
+ </if>
|
|
|
+ where OO.ORDER_TYPE = 1
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ and RCA.CARRIER_SSO_ID = #{carrierSsoId}
|
|
|
+ </if>
|
|
|
+ )
|
|
|
+ <where>
|
|
|
+ <if test="orderNumber != null">
|
|
|
+ <foreach collection="orderNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "orderNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="capacityNumber != null">
|
|
|
+ and
|
|
|
+ <foreach collection="capacityNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "capacityNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultEntryGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultEntryGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultEntryGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultLoadEndTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultLoadEndTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultLoadEndTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="warehouseName != null">
|
|
|
+ and
|
|
|
+ <foreach collection="warehouseName" item="item" open="(" separator="or" close=")">
|
|
|
+ "warehouseName" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultNetWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultNetWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultNetWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultOutGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultOutGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultOutGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <include refid="orderBy"></include>
|
|
|
+ <if test="orderField == null">
|
|
|
+ order by "resultOutGateTime" desc, "resultEntryGateTime" desc
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+<!-- 查询零星进厂物资统计报表-->
|
|
|
+ <select id="getSporadicSuppliesReport1" resultType="java.util.Map">
|
|
|
+ select
|
|
|
+ *
|
|
|
+ from (
|
|
|
+ select OO.ORDER_NUMBER "orderNumber",
|
|
|
+ RC.CAPACITY_NUMBER "capacityNumber",
|
|
|
+ TER.RESULT_ENTRY_GATE_TIME "resultEntryGateTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT_TIME "resultTareWeightTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT "resultTareWeight",
|
|
|
+ TUR.RESULT_END_TIME "resultEndTime",
|
|
|
+ RW.WAREHOUSE_NAME "warehouseName",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT_TIME "resultGrossWeightTime",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT "resultGrossWeight",
|
|
|
+ TWR.RESULT_NET_WEIGHT "resultNetWeight",
|
|
|
+ TLFR.RESULT_OUT_GATE_TIME "resultOutGateTime",
|
|
|
+-- 查询进厂门岗
|
|
|
+ RG2.GATEPOST_NAME "gatepostEntryName",
|
|
|
+-- 出厂门岗
|
|
|
+ RG.GATEPOST_NAME "gatepostOutName",
|
|
|
+-- 计皮汽车衡
|
|
|
+ RTC1.TRUCK_CALCULATE_NUMBER "truckTareCalculate",
|
|
|
+-- 计毛汽车衡
|
|
|
+ RTC2.TRUCK_CALCULATE_NUMBER "truckCrossCalculate"
|
|
|
+ from OMSTRUCK_ORDER OO
|
|
|
+ join TMSTRUCK_TOTAL_RESULT TTR
|
|
|
+ on TTR.ORDER_ID = OO.ORDER_ID
|
|
|
+ join TMSTRUCK_UNLOAD_RESULT TUR
|
|
|
+ on TUR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_WAREHOUSE RW
|
|
|
+ on RW.WAREHOUSE_ID = TUR.RESULT_UNLOAD_PLACE_ID
|
|
|
+ join TMSTRUCK_WEIGHT_RESULT TWR
|
|
|
+ on TWR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTC2
|
|
|
+ on RTC2.TRUCK_CALCULATE_ID = TWR.RESULT_GROSS_PLACE_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTC1
|
|
|
+ on RTC1.TRUCK_CALCULATE_ID = TWR.RESULT_TARE_PLACE_ID
|
|
|
+ join TMSTRUCK_ENFACTORY_RESULT TER
|
|
|
+ on TER.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RG2
|
|
|
+ on RG2.GATEPOST_ID =TER.GATEPOST_ID
|
|
|
+ join TMSTRUCK_LEAVE_FACTORY_RESULT TLFR
|
|
|
+ on TLFR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RG
|
|
|
+ on TLFR.GATEPOST_ID =RG.GATEPOST_ID
|
|
|
+ join RMS_CAPACITY RC
|
|
|
+ on RC.CAPACITY_ID = OO.CAPACITY_ID
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ join RMS_CARRIER RCA
|
|
|
+ on RCA.CARRIER_ID = RC.CARRIER_ID
|
|
|
+ </if>
|
|
|
+ where OO.ORDER_TYPE = 12
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ and RCA.CARRIER_SSO_ID = #{carrierSsoId}
|
|
|
+ </if>
|
|
|
+ and TO_CHAR(TLFR.RESULT_OUT_GATE_TIME, 'YYYY-MM-DD') = TO_CHAR(SYSDATE, 'YYYY-MM-DD')
|
|
|
+ )
|
|
|
+ <where>
|
|
|
+ <if test="orderNumber != null">
|
|
|
+ <foreach collection="orderNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "orderNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="capacityNumber != null">
|
|
|
+ and
|
|
|
+ <foreach collection="capacityNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "capacityNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultEntryGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultEntryGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultEntryGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultEndTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultEndTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultEndTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="warehouseName != null">
|
|
|
+ and
|
|
|
+ <foreach collection="warehouseName" item="item" open="(" separator="or" close=")">
|
|
|
+ "warehouseName" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultNetWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultNetWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultNetWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultOutGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultOutGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultOutGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <include refid="orderBy"></include>
|
|
|
+ <if test="orderField == null">
|
|
|
+ order by "resultOutGateTime" desc, "resultEntryGateTime" desc
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+<!-- 查询零星出厂物资统计报表-->
|
|
|
+ <select id="getSporadicSuppliesReport2" resultType="java.util.Map">
|
|
|
+ select
|
|
|
+ *
|
|
|
+ from (
|
|
|
+ select OO.ORDER_NUMBER "orderNumber",
|
|
|
+ RC.CAPACITY_NUMBER "capacityNumber",
|
|
|
+ TER.RESULT_ENTRY_GATE_TIME "resultEntryGateTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT_TIME "resultTareWeightTime",
|
|
|
+ TWR.RESULT_TARE_WEIGHT "resultTareWeight",
|
|
|
+ TLR.RESULT_LOAD_END_TIME "resultLoadEndTime",
|
|
|
+ RW.WAREHOUSE_NAME "warehouseName",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT_TIME "resultGrossWeightTime",
|
|
|
+ TWR.RESULT_GROSS_WEIGHT "resultGrossWeight",
|
|
|
+ TWR.RESULT_NET_WEIGHT "resultNetWeight",
|
|
|
+ TLFR.RESULT_OUT_GATE_TIME "resultOutGateTime",
|
|
|
+-- 查询进厂门岗
|
|
|
+ RG2.GATEPOST_NAME "gatepostEntryName",
|
|
|
+ -- 出厂门岗
|
|
|
+ RG.GATEPOST_NAME "gatepostOutName",
|
|
|
+ -- 计皮汽车衡
|
|
|
+ RTC1.TRUCK_CALCULATE_NUMBER "truckTareCalculate",
|
|
|
+ -- 计毛汽车衡
|
|
|
+ RTC2.TRUCK_CALCULATE_NUMBER "truckCrossCalculate"
|
|
|
+ from OMSTRUCK_ORDER OO
|
|
|
+ join TMSTRUCK_TOTAL_RESULT TTR
|
|
|
+ on TTR.ORDER_ID = OO.ORDER_ID
|
|
|
+ join TMSTRUCK_LOAD_RESULT TLR
|
|
|
+ on TLR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_WAREHOUSE RW
|
|
|
+ on RW.WAREHOUSE_ID = TLR.LOADING_ID
|
|
|
+ join TMSTRUCK_WEIGHT_RESULT TWR
|
|
|
+ on TWR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTC2
|
|
|
+ on RTC2.TRUCK_CALCULATE_ID = TWR.RESULT_GROSS_PLACE_ID
|
|
|
+ join RMS_TRUCK_CALCULATE RTC1
|
|
|
+ on RTC1.TRUCK_CALCULATE_ID = TWR.RESULT_TARE_PLACE_ID
|
|
|
+ join TMSTRUCK_ENFACTORY_RESULT TER
|
|
|
+ on TER.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RG2
|
|
|
+ on RG2.GATEPOST_ID =TER.GATEPOST_ID
|
|
|
+ join TMSTRUCK_LEAVE_FACTORY_RESULT TLFR
|
|
|
+ on TLFR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
|
|
|
+ join RMS_GATEPOST RG
|
|
|
+ on TLFR.GATEPOST_ID =RG.GATEPOST_ID
|
|
|
+ join RMS_CAPACITY RC
|
|
|
+ on RC.CAPACITY_ID = OO.CAPACITY_ID
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ join RMS_CARRIER RCA
|
|
|
+ on RCA.CARRIER_ID = RC.CARRIER_ID
|
|
|
+ </if>
|
|
|
+ where OO.ORDER_TYPE = 13
|
|
|
+ <if test="carrierSsoId != null">
|
|
|
+ and RCA.CARRIER_SSO_ID = #{carrierSsoId}
|
|
|
+ </if>
|
|
|
+ and TO_CHAR(TLFR.RESULT_OUT_GATE_TIME, 'YYYY-MM-DD') = TO_CHAR(SYSDATE, 'YYYY-MM-DD')
|
|
|
+ )
|
|
|
+ <where>
|
|
|
+ <if test="orderNumber != null">
|
|
|
+ <foreach collection="orderNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "orderNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="capacityNumber != null">
|
|
|
+ and
|
|
|
+ <foreach collection="capacityNumber" item="item" open="(" separator="or" close=")">
|
|
|
+ "capacityNumber" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultEntryGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultEntryGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultEntryGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultTareWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultTareWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultTareWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultLoadEndTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultLoadEndTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultLoadEndTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="warehouseName != null">
|
|
|
+ and
|
|
|
+ <foreach collection="warehouseName" item="item" open="(" separator="or" close=")">
|
|
|
+ "warehouseName" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeightTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeightTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeightTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultGrossWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultGrossWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultGrossWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultNetWeight != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultNetWeight" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultNetWeight" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="resultOutGateTime != null">
|
|
|
+ and
|
|
|
+ <foreach collection="resultOutGateTime" item="item" open="(" separator="or" close=")">
|
|
|
+ "resultOutGateTime" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <include refid="orderBy"></include>
|
|
|
+ <if test="orderField == null">
|
|
|
+ order by "resultOutGateTime" desc, "resultEntryGateTime" desc
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
</mapper>
|