|
@@ -136,8 +136,14 @@ public class RoomSelectionInfoService implements BaseService<RoomSelectionInfo,
|
|
|
* @param customerManagementId
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Transactional
|
|
|
public int submit(String houseIds, String customerManagementId, String userId) {
|
|
|
|
|
|
+ ParkRoom originRoom = parkRoomMapper.selectByPrimaryKey(houseIds);
|
|
|
+ if(originRoom.getIsChoose() == 1){
|
|
|
+ throw new RuntimeException("该房间已被选择!!!");
|
|
|
+ }
|
|
|
+
|
|
|
String groupId = "";
|
|
|
String discId = "";
|
|
|
CustomerManagement customerManagement = customerManagementMapper.selectByPrimaryKey(customerManagementId);
|