소스 검색

订单导出明细优化2

yjwang 1 개월 전
부모
커밋
7c5d76252d
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      fs-service/src/main/java/com/fs/hisStore/mapper/FsStoreOrderItemScrmMapper.java

+ 9 - 0
fs-service/src/main/java/com/fs/hisStore/mapper/FsStoreOrderItemScrmMapper.java

@@ -177,6 +177,15 @@ public interface FsStoreOrderItemScrmMapper
             "<if test = 'maps.scheduleId != null    '> " +
             "and o.schedule_id =#{maps.scheduleId} " +
             "</if>" +
+            "            <if test=\"maps.deliveryPayStatus != null  \">\n" +
+            "                and o.delivery_pay_status =#{maps.deliveryPayStatus}\n" +
+            "            </if>"+
+            "            <if test=\"maps.deliveryStatus != null     \">\n" +
+            "                and o.delivery_status =#{maps.deliveryStatus}\n" +
+            "            </if>"+
+            "           <if test=\"maps.productName != null and  maps.productName !=  '' \">\n" +
+            "                and psps.product_name like concat('%', #{maps.productName}, '%')\n" +
+            "            </if>"+
             "<if test = 'maps.isAudit != null'> " +
             "and o.is_audit = #{maps.isAudit} " +
             "</if>" +