| | |
| | | import com.java110.po.feeReceiptDetail.FeeReceiptDetailPo; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.utils.util.StringUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @RequestParam(value = "objId", required = false) String objId, |
| | | @RequestParam(value = "roomId", required = false) String roomId, |
| | | @RequestParam(value = "receiptId", required = false) String receiptId, |
| | | @RequestParam(value = "receiptIds", required = false) String receiptIds, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row, |
| | | @RequestHeader(value = "user_id") String userId) { |
| | |
| | | feeReceiptDto.setRow(row); |
| | | feeReceiptDto.setCommunityId(communityId); |
| | | feeReceiptDto.setReceiptId(receiptId); |
| | | if (!StringUtil.isEmpty(receiptIds)) { |
| | | feeReceiptDto.setReceiptIds(receiptIds.split(",")); |
| | | } |
| | | feeReceiptDto.setObjType(objType); |
| | | feeReceiptDto.setObjName(roomId); |
| | | feeReceiptDto.setObjId(objId); |
| | |
| | | @RequestMapping(value = "/queryFeeReceiptDetail", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryFeeReceiptDetail(@RequestParam(value = "communityId") String communityId, |
| | | @RequestParam(value = "receiptId", required = false) String receiptId, |
| | | @RequestParam(value = "receiptIds", required = false) String receiptIds, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | FeeReceiptDetailDto feeReceiptDetailDto = new FeeReceiptDetailDto(); |
| | |
| | | feeReceiptDetailDto.setRow(row); |
| | | feeReceiptDetailDto.setCommunityId(communityId); |
| | | feeReceiptDetailDto.setReceiptId(receiptId); |
| | | if (!StringUtil.isEmpty(receiptIds)) { |
| | | feeReceiptDetailDto.setReceiptIds(receiptIds.split(",")); |
| | | } |
| | | return getFeeReceiptDetailBMOImpl.get(feeReceiptDetailDto); |
| | | } |
| | | |