| | |
| | | List<Store> stores = storeClient.queryStoreByIds(Arrays.asList(sid)); |
| | | if (!stores.isEmpty()){ |
| | | Store store = stores.get(0); |
| | | vipDetailServiceById.setOperatorId(store.getOperatorId()); |
| | | if(store.getOperatorId()==null){ |
| | | vipDetailServiceById.setOperatorId(0); |
| | | }else{ |
| | | vipDetailServiceById.setOperatorId(store.getOperatorId()); |
| | | } |
| | | } |
| | | } |
| | | // 根据场地id查询运营商id |
| | |
| | | vipDetailServiceById.setUseStoreId(sid); |
| | | vipDetailServiceById.setStatus(2); |
| | | vipDetailServiceById.setStartTime(new Date()); |
| | | vipDetailServiceById.setUseTime(new Date()); |
| | | // 获取今天的晚上23:59:59 |
| | | // 获取今天的晚上23:59:59 |
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |