old mode 100644
new mode 100755
| | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.feeDiscount.FeeDiscountDto; |
| | | import com.java110.dto.feeDiscountRule.FeeDiscountRuleDto; |
| | | import com.java110.dto.feeDiscountRuleSpec.FeeDiscountRuleSpecDto; |
| | | import com.java110.dto.feeDiscount.FeeDiscountRuleDto; |
| | | import com.java110.dto.feeDiscount.FeeDiscountRuleSpecDto; |
| | | import com.java110.dto.payFeeDetailDiscount.PayFeeDetailDiscountDto; |
| | | import com.java110.fee.bmo.feeDiscount.IDeleteFeeDiscountBMO; |
| | | import com.java110.fee.bmo.feeDiscount.IGetFeeDiscountBMO; |
| | | import com.java110.fee.bmo.feeDiscount.ISaveFeeDiscountBMO; |
| | |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | 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.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.text.ParseException; |
| | | |
| | | |
| | | @RestController |
| | |
| | | public ResponseEntity<String> computeFeeDiscount(@RequestParam(value = "feeId") String feeId, |
| | | @RequestParam(value = "communityId") String communityId, |
| | | @RequestParam(value = "cycles") double cycles, |
| | | @RequestParam(value = "payerObjId") String payerObjId, |
| | | @RequestParam(value = "payerObjType") String payerObjType, |
| | | @RequestParam(value = "endTime") String endTime, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | return computeFeeDiscountBMOImpl.compute(feeId, communityId, cycles, page, row); |
| | | @RequestParam(value = "row") int row) throws ParseException { |
| | | return computeFeeDiscountBMOImpl.compute(feeId, communityId, cycles, payerObjId, payerObjType, endTime, page, row); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询 缴费优惠 |
| | | * |
| | | * @return |
| | | * @serviceCode /feeDiscount/queryFeeDetailDiscount |
| | | * @path /app/feeDiscount/queryFeeDetailDiscount |
| | | */ |
| | | @RequestMapping(value = "/queryFeeDetailDiscount", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryFeeDetailDiscount( |
| | | @RequestParam(value = "detailId") String detailId, |
| | | @RequestParam(value = "communityId") String communityId, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | PayFeeDetailDiscountDto payFeeDetailDiscountDto = new PayFeeDetailDiscountDto(); |
| | | payFeeDetailDiscountDto.setPage(page); |
| | | payFeeDetailDiscountDto.setRow(row); |
| | | payFeeDetailDiscountDto.setDetailId(detailId); |
| | | payFeeDetailDiscountDto.setCommunityId(communityId); |
| | | return getFeeDiscountBMOImpl.getFeeDetailDiscount(payFeeDetailDiscountDto); |
| | | } |
| | | } |