Sfoglia il codice sorgente

中台 店铺列表

qxy 1 settimana fa
parent
commit
75855b122a

+ 10 - 1
alien-entity/src/main/java/shop/alien/mapper/StoreInfoMapper.java

@@ -73,7 +73,16 @@ public interface StoreInfoMapper extends BaseMapper<StoreInfo> {
      * @param queryWrapper 查询条件
      * @return IPage<StoreInfoVo>
      */
-    @Select("select a.*, img.img_url entranceImage,img1.img_url foodLicenceImageUrl,b.name store_contact, b.phone store_phone, b.id_card idCard, b.password, c.dict_detail store_status_str, d.dict_detail business_status_str, e.dict_detail store_type_str,  " +
+    @Select("select a.*, " +
+            "img.img_url entranceImage," +
+            "img1.img_url foodLicenceImageUrl," +
+            "b.name store_contact, " +
+            "b.phone store_phone, " +
+            "b.id_card idCard, " +
+            "b.password, " +
+            "c.dict_detail store_status_str, " +
+            "d.dict_detail business_status_str, " +
+            "e.dict_detail store_type_str,  " +
             "( " +
             " select ifnull(round(avg(score), 1), 0) " +
             " from store_evaluation eval " +

+ 11 - 2
alien-store/src/main/java/shop/alien/store/controller/StoreInfoController.java

@@ -247,8 +247,17 @@ public class StoreInfoController {
             @RequestParam(required = false) String foodLicenceStatus,
             @RequestParam(required = false) String foodLicenceWhetherExpiredStatus)
     {
-        log.info("StoreInfoController.getStoresPage?pageNum={},pageSize={},storeName={},storeContact={},id={},storePhone={},storeType={},expiredState={},storeApplicationStatus={},storeStatus={},businessSection={},jingdu={},weidu={},renewContractStatus={},foodLicenceStatus={},foodLicenceWhetherExpiredStatus={}",
-                pageNum, pageSize, storeName, storeContact, id, storePhone, storeType, expiredState, storeApplicationStatus, storeStatus, businessSection, jingdu, weidu, renewContractStatus, foodLicenceStatus, foodLicenceWhetherExpiredStatus);
+        log.info("StoreInfoController.getStoresPage?pageNum={}," +
+                        "pageSize={},storeName={},storeContact={}," +
+                        "id={},storePhone={},storeType={},expiredState={}," +
+                        "storeApplicationStatus={},storeStatus={}," +
+                        "businessSection={},jingdu={},weidu={}," +
+                        "renewContractStatus={},foodLicenceStatus={}" +
+                        ",foodLicenceWhetherExpiredStatus={}",
+                pageNum, pageSize, storeName, storeContact,
+                id, storePhone, storeType, expiredState, storeApplicationStatus,
+                storeStatus, businessSection, jingdu, weidu, renewContractStatus,
+                foodLicenceStatus, foodLicenceWhetherExpiredStatus);
         return R.data(storeInfoService.getStorePage(pageNum, pageSize, storeName, storeContact, id, storePhone, storeType, expiredState, storeApplicationStatus, storeStatus, businessSection, jingdu, weidu, renewContractStatus, foodLicenceStatus, foodLicenceWhetherExpiredStatus));
     }