zhangyuewww %!s(int64=3) %!d(string=hai) anos
pai
achega
a7bd4afdba

+ 5 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/entity/SalePlanInfo.java

@@ -243,6 +243,11 @@ public class SalePlanInfo extends BaseModel<SalePlanInfo> {
      */
     @TableField(exist = false)
     private String searchType;
+    /**
+     * 查询收货地
+     */
+    @TableField(exist = false)
+    private String receivePrivate;
 
 
     @Override

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/SalePlanInfoServiceImpl.java

@@ -94,7 +94,7 @@ public class SalePlanInfoServiceImpl extends ServiceImpl<SalePlanInfoMapper, Sal
         pageView.put("searchType", salePlanInfo.getSearchType());
         pageView.put("pcFlag",salePlanInfo.getPcFlag());
         pageView.put("showFlag",salePlanInfo.getShowFlag());
-        pageView.put("sendPrivate",salePlanInfo.getSendPrivate());
+        pageView.put("receivePrivate",salePlanInfo.getReceivePrivate());
         pageView.put("pageSize",salePlanInfo.getPageSize());
         pageView.put("currentPage",salePlanInfo.getCurrentPage());
         // 查询销售订单总数

+ 4 - 4
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/SalePlanInfoMapper.xml

@@ -13,8 +13,8 @@
             OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(seller) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
-        <if test="sendPrivate != null and sendPrivate != '' and sendPrivate != '全国'">
-            AND (lower(send_private) like lower(CONCAT('%',#{sendPrivate},'%')))
+        <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
+            AND (lower(send_private) like lower(CONCAT('%',#{receivePrivate},'%')))
         </if>
         <if test="searchType != null and searchType != ''">
             <if test="searchType == 1">
@@ -70,8 +70,8 @@
             OR lower(goods_name) like lower(CONCAT('%',#{searchKeyWord},'%'))
             OR lower(seller) like lower(CONCAT('%',#{searchKeyWord},'%')))
         </if>
-        <if test="sendPrivate != null and sendPrivate != '' and sendPrivate != '全国'">
-            AND (lower(send_private) like lower(CONCAT('%',#{sendPrivate},'%')))
+        <if test="receivePrivate != null and receivePrivate != '' and receivePrivate != '全国'">
+            AND (lower(send_private) like lower(CONCAT('%',#{receivePrivate},'%')))
         </if>
         <if test="searchType != null and searchType != ''">
             <if test="searchType == 1">