Ver código fonte

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

魏熙美 6 anos atrás
pai
commit
0a91694079

+ 2
- 2
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TpShopServicelmpl.java Ver arquivo

@@ -120,9 +120,9 @@ public class TpShopServicelmpl implements TpShopServicel {
120 120
                    //休闲
121 121
                    List<String> tpShopTypeImg = new ArrayList<>();
122 122
                    // 休闲3x
123
-                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1557817084664.png?Expires=1559644472&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
123
+                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1558077862814.png?Expires=1559905250&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
124 124
                    // 休闲2x
125
-                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1557817102003.png?Expires=1559644489&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
125
+                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1558077918669.png?Expires=1559905306&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
126 126
                 tpShopType.setImg(tpShopTypeImg);
127 127
                }
128 128
                if (a == 4){

+ 8
- 8
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/HotelServiceImpl.java Ver arquivo

@@ -103,14 +103,14 @@ public class HotelServiceImpl extends ServiceImpl<HotelMapper, Hotel> implements
103 103
             return response;
104 104
         }
105 105
         // 查询当前房间编号是否重复
106
-        QueryWrapper<HotelRoom> HotelRoomQuery= new QueryWrapper<>();
107
-        HotelRoomQuery.eq("community_id",userElement.getCommunityId());
108
-        HotelRoomQuery.eq("room_no",hotelRoom.getRoomNo());
109
-        List<HotelRoom> RoomNo= tpHotelRoomMapper.selectList(HotelRoomQuery);
110
-        if (null != RoomNo && RoomNo.size()>0){
111
-            response.addError("当前房间号已存在");
112
-            return response;
113
-        }
106
+//        QueryWrapper<HotelRoom> HotelRoomQuery= new QueryWrapper<>();
107
+//        HotelRoomQuery.eq("community_id",userElement.getCommunityId());
108
+//        HotelRoomQuery.eq("room_no",hotelRoom.getRoomNo());
109
+//        List<HotelRoom> RoomNo= tpHotelRoomMapper.selectList(HotelRoomQuery);
110
+//        if (null != RoomNo && RoomNo.size()>0){
111
+//            response.addError("当前房间号已存在");
112
+//            return response;
113
+//        }
114 114
         // 判断价格是否存在
115 115
         if (null == hotelRoom.getPrice()) {
116 116
             response.addError("请输入房间价格");

+ 3
- 0
VUECODE/smart-property-manage/src/views/grogshop/grogshopRoomAdd.vue Ver arquivo

@@ -69,6 +69,9 @@ export default {
69 69
         this.$message.error('请输入房型价格');
70 70
         return
71 71
       }
72
+      if(this.ruleForm.roomStatus === ''){
73
+        this.ruleForm.roomStatus = '1'
74
+      }
72 75
     
73 76
       this.$store.dispatch('HotelRoomAdd', this.ruleForm).then((res) => {
74 77
         if(res.code === '1'){

+ 2
- 0
VUECODE/smart-property-manage/src/views/rental/rentalIndex.vue Ver arquivo

@@ -247,6 +247,7 @@ export default {
247 247
       const ids = this.deleteIds
248 248
       if (ids < 1) {
249 249
         this.$message.error('请至少选择一行数据上架!')
250
+        this.listLoading = false
250 251
         return
251 252
       }
252 253
       this.$store.dispatch('rental/ShelfRental', ids).then((res) => {
@@ -262,6 +263,7 @@ export default {
262 263
       const ids = this.deleteIds
263 264
       if (ids < 1) {
264 265
         this.$message.error('请至少选择一行数据下架!')
266
+        this.listLoading = false
265 267
         return
266 268
       }
267 269
       this.$store.dispatch('rental/ObtainedRental', ids).then((res) => {