Browse Source

”修改内转零星实绩展示“

zx 3 years ago
parent
commit
84b5b44181

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/TmstruckEnfactoryResultMapper.xml

@@ -1164,7 +1164,7 @@
     <select id="getSporadicSuppliesEnFactoryResult" parameterType="java.util.Map" resultType="java.util.Map">
     <select id="getSporadicSuppliesEnFactoryResult" parameterType="java.util.Map" resultType="java.util.Map">
         select *
         select *
         from (
         from (
-        select TER.RESULT_ID "resultId",
+        select distinct TER.RESULT_ID "resultId",
                OO.ORDER_ID    "orderId",
                OO.ORDER_ID    "orderId",
                 OO.ORDER_NUMBER "orderNumber",
                 OO.ORDER_NUMBER "orderNumber",
                 RC.CAPACITY_NUMBER "capacityNumber",
                 RC.CAPACITY_NUMBER "capacityNumber",

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/TmstruckLeaveFactoryResultMapper.xml

@@ -1093,7 +1093,7 @@
     <select id="getSporadicLeaveFactory" parameterType="java.util.Map" resultType="java.util.Map">
     <select id="getSporadicLeaveFactory" parameterType="java.util.Map" resultType="java.util.Map">
         select *
         select *
         from (
         from (
-        select TLFR.RESULT_ID              "resultId",
+        select distinct TLFR.RESULT_ID              "resultId",
         OO.ORDER_NUMBER                    "orderNumber",
         OO.ORDER_NUMBER                    "orderNumber",
         RC.CAPACITY_NUMBER                 "capacityNumber",
         RC.CAPACITY_NUMBER                 "capacityNumber",
         RG.GATEPOST_NAME                   "gatepostName",
         RG.GATEPOST_NAME                   "gatepostName",

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/TmstruckLoadResultMapper.xml

@@ -1513,7 +1513,7 @@
   <select id="getSporadicSuppliesLoadResult" resultType="java.util.Map">
   <select id="getSporadicSuppliesLoadResult" resultType="java.util.Map">
     select *
     select *
     from (
     from (
-    select
+    select distinct
     TLR.RESULT_ID "resultId",
     TLR.RESULT_ID "resultId",
     OO.ORDER_NUMBER "orderNumber",
     OO.ORDER_NUMBER "orderNumber",
     RC.CAPACITY_NUMBER "capacityNumber",
     RC.CAPACITY_NUMBER "capacityNumber",

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/TmstruckUnloadResultMapper.xml

@@ -949,7 +949,7 @@
     <select id="getSporadicSuppliesUnloadResult" resultType="java.util.Map">
     <select id="getSporadicSuppliesUnloadResult" resultType="java.util.Map">
         SELECT *
         SELECT *
         FROM (
         FROM (
-        SELECT
+        SELECT distinct
         TUR.RESULT_ID             "resultId",
         TUR.RESULT_ID             "resultId",
         OO.ORDER_NUMBER           "orderNumber",
         OO.ORDER_NUMBER           "orderNumber",
         RC.CAPACITY_NUMBER        "capacityNumber",
         RC.CAPACITY_NUMBER        "capacityNumber",

+ 2 - 2
src/main/resources/com/steerinfo/dil/mapper/TmstruckWeightResultMapper.xml

@@ -2172,7 +2172,7 @@
     <select id="getSporadicSuppliesJiMiaoResult" resultType="java.util.Map">
     <select id="getSporadicSuppliesJiMiaoResult" resultType="java.util.Map">
         select *
         select *
         from (
         from (
-        select
+        select distinct
         TWR.WEIGHT_TASK_RESULT_ID "weightTaskResultId",
         TWR.WEIGHT_TASK_RESULT_ID "weightTaskResultId",
         OO.ORDER_NUMBER "orderNumber",
         OO.ORDER_NUMBER "orderNumber",
         RC.CAPACITY_NUMBER "capacityNumber",
         RC.CAPACITY_NUMBER "capacityNumber",
@@ -2364,7 +2364,7 @@
     <select id="getFactorySkinSporadicWeight" resultType="java.util.Map">
     <select id="getFactorySkinSporadicWeight" resultType="java.util.Map">
         select *
         select *
         from (
         from (
-        select
+        select distinct
         TWR.WEIGHT_TASK_RESULT_ID "weightTaskResultId",
         TWR.WEIGHT_TASK_RESULT_ID "weightTaskResultId",
         ASO.SPORADIC_ORDER_NO "purchaseOrderNo",
         ASO.SPORADIC_ORDER_NO "purchaseOrderNo",
         RM.MATERIAL_NAME "materialName",
         RM.MATERIAL_NAME "materialName",