88e030b7
王彪总
init project
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package com.java110.fee.api;
import com.java110.dto.fee.FeeDto;
import com.java110.fee.bmo.rentingFee.IQueryRentingFee;
import com.java110.intf.fee.IFeeInnerServiceSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
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 = "/rentingFee")
public class RentingFeeApi {
@Autowired
private IQueryRentingFee queryRentingFeeImpl;
/**
* 查询租赁费
*
|
88e030b7
王彪总
init project
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
* @return
* @serviceCode /rentingFee/queryFee
* @path /app/rentingFee/queryFee
*/
@RequestMapping(value = "/queryFee", method = RequestMethod.GET)
public ResponseEntity<String> queryFee(@RequestParam(value = "communityId") String communityId,
@RequestParam(value = "rentingId", required = false) String rentingId,
@RequestParam(value = "page") int page,
@RequestParam(value = "row") int row) {
FeeDto feeDto = new FeeDto();
feeDto.setPage(page);
feeDto.setRow(row);
feeDto.setCommunityId(communityId);
feeDto.setPayerObjId(rentingId);
feeDto.setPayerObjType(FeeDto.PAYER_OBJ_TYPE_RENTING);
return queryRentingFeeImpl.queryFees(feeDto);
}
}
|