| | |
| | | import com.java110.user.bmo.rentingConfig.IGetRentingConfigBMO; |
| | | import com.java110.user.bmo.rentingConfig.ISaveRentingConfigBMO; |
| | | import com.java110.user.bmo.rentingConfig.IUpdateRentingConfigBMO; |
| | | import com.java110.user.bmo.rentingPool.*; |
| | | import com.java110.user.bmo.rentingPool.IAuditRentingBMO; |
| | | import com.java110.user.bmo.rentingPool.IDeleteRentingPoolBMO; |
| | | import com.java110.user.bmo.rentingPool.IGetRentingPoolBMO; |
| | | import com.java110.user.bmo.rentingPool.ISaveRentingPoolBMO; |
| | | import com.java110.user.bmo.rentingPool.IUpdateRentingPoolBMO; |
| | | import com.java110.user.bmo.rentingPoolAttr.IDeleteRentingPoolAttrBMO; |
| | | import com.java110.user.bmo.rentingPoolAttr.IGetRentingPoolAttrBMO; |
| | | import com.java110.user.bmo.rentingPoolAttr.ISaveRentingPoolAttrBMO; |
| | |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestHeader; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | |
| | | @RestController |
| | |
| | | @RequestMapping(value = "/queryRentingConfig", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryRentingConfig( |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | @RequestParam(value = "row") int row, |
| | | @RequestParam(value = "rentingConfigId", required = false) String rentingConfigId) { |
| | | RentingConfigDto rentingConfigDto = new RentingConfigDto(); |
| | | rentingConfigDto.setPage(page); |
| | | rentingConfigDto.setRow(row); |
| | | rentingConfigDto.setRentingConfigId(rentingConfigId); |
| | | return getRentingConfigBMOImpl.get(rentingConfigDto); |
| | | } |
| | | |