zengyf 2 年 前
コミット
bbf58f75f6

+ 6 - 0
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -2482,6 +2482,9 @@
           '${item}'
           </foreach>
         </if>
+        <if test="consigneeLoginName != null">
+            and RC.CONSIGNEE_COMPANY_NAME LIKE '%${consigneeLoginName}%'
+        </if>
         order by ASO.SALE_ORDER_ID DESC, ASOM.SALE_ORDER_MATERIAL_ID DESC,OO.ORDER_ID  DESC
         )
     </select>
@@ -2756,6 +2759,9 @@
             0,'未上报') like '%${item}%'
         </foreach>
         </if>
+        <if test="consigneeLoginName != null">
+            and RC.CONSIGNEE_COMPANY_NAME LIKE '%${consigneeLoginName}%'
+        </if>
         order by ASO.SALE_ORDER_ID DESC, ASOM.SALE_ORDER_MATERIAL_ID DESC,OO.ORDER_ID  DESC
         )
     </select>