Procházet zdrojové kódy

Merge branch '2.0.0' of http://git.ycjcjy.com/fuxingfan/smartCommunity into 2.0.0

魏熙美 před 6 roky
rodič
revize
5a56d5f2c7

+ 1
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpRentalHouseMapper.xml Zobrazit soubor

@@ -511,7 +511,7 @@
511 511
     <where>
512 512
 
513 513
       <if test="houseName !=null and houseName != ''" >
514
-        AND rh.community_address like concat('%',#{houseName},'%')
514
+        AND rh.house_name like concat('%',#{houseName},'%')
515 515
       </if>
516 516
       <if test="rentalType == 1" >
517 517
         and rh.rental_type = '1'

+ 1
- 1
CODE/smart-community/app-api/src/main/resources/mapper/TpShopMapper.xml Zobrazit soubor

@@ -281,7 +281,7 @@
281 281
   </select>
282 282
 
283 283
   <select id="selectShopCommunity" resultMap="ResultMapWithBLOBs">
284
-    select * from tp_shop WHERE community_id = #{communityId} order by sort desc LIMIT 4
284
+    select * from tp_shop WHERE community_id = #{communityId} and shop_status = 1  order by sort desc LIMIT 4
285 285
   </select>
286 286
 
287 287
 </mapper>

+ 1
- 1
VUECODE/smart-property-manage/src/views/grogshop/grogshopRoomAdd.vue Zobrazit soubor

@@ -49,7 +49,7 @@ export default {
49 49
           { required: true, message: '请输入房型描述', trigger: 'blur' }
50 50
         ],
51 51
         price: [
52
-          { required: true, message: '请输入房型描述', trigger: 'blur' }
52
+          { required: true, message: '请输入价格', trigger: 'blur' }
53 53
         ],
54 54
         roomStatus: [
55 55
           { required: true, message: '请选择状态', trigger: 'blur' }