|
@@ -21,6 +21,7 @@ import com.charging.chargingparking.mapper.ParkingPayMapper;
|
|
|
import com.charging.chargingparking.mapper.ParkingRecordMapper;
|
|
|
import com.charging.chargingparking.modules.backController.ParkingMemberInfoController;
|
|
|
import com.charging.chargingparking.modules.common.dto.Sort;
|
|
|
+import com.charging.chargingparking.modules.vo.ParkingEnableVo;
|
|
|
import com.charging.chargingparking.modules.vo.ProfitVo;
|
|
|
import com.charging.chargingparking.modules.vo.TemporaryVo;
|
|
|
import com.charging.chargingparking.service.*;
|
|
@@ -798,16 +799,20 @@ class ChargingParkingApplicationTests {
|
|
|
@Test
|
|
|
void testMember() {
|
|
|
|
|
|
- ParkingInfo parkingInfo = parkingInfoService.getById("1");
|
|
|
- parkingInfo.setMaxInToOutTime(48);
|
|
|
- parkingInfoService.updateById(parkingInfo);
|
|
|
- System.out.println(parkingInfo);
|
|
|
- /* try {
|
|
|
- Boolean result = parkingMemberService.parkingMemberStatus("鄂D9758J", "1");
|
|
|
- System.out.println(result);
|
|
|
- } catch (Exception ex) {
|
|
|
+// ParkingInfo parkingInfo = parkingInfoService.getById("1");
|
|
|
+// parkingInfo.setMaxInToOutTime(48);
|
|
|
+// parkingInfoService.updateById(parkingInfo);
|
|
|
+// System.out.println(parkingInfo);
|
|
|
+
|
|
|
+ ParkingChannel parkingChannel =parkingChannelService.getById(1597417780772667394l);
|
|
|
|
|
|
- }*/
|
|
|
+ try {
|
|
|
+ ParkingEnableVo parkingEnableVo = parkingMemberService.parkingMemberStatus("鄂D9758J", parkingChannel);
|
|
|
+ System.out.println("开启状态:"+parkingEnableVo.getOpen());
|
|
|
+ System.out.println("content:"+parkingEnableVo.getContent());
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@Test
|