old mode 100644
new mode 100755
| | |
| | | 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; |
| | | |
| | | |
| | | @RestController |
| | |
| | | public ResponseEntity<String> saveFeePrintSpec(@RequestBody JSONObject reqJson) { |
| | | |
| | | Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId"); |
| | | Assert.hasKeyAndValue(reqJson, "content", "请求报文中未包含content"); |
| | | Assert.hasKeyAndValue(reqJson, "specCd", "请求报文中未包含specCd"); |
| | | |
| | | |
| | |
| | | public ResponseEntity<String> updateFeePrintSpec(@RequestBody JSONObject reqJson) { |
| | | |
| | | Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId"); |
| | | Assert.hasKeyAndValue(reqJson, "content", "请求报文中未包含content"); |
| | | Assert.hasKeyAndValue(reqJson, "specCd", "请求报文中未包含specCd"); |
| | | Assert.hasKeyAndValue(reqJson, "printId", "printId不能为空"); |
| | | |
| | |
| | | */ |
| | | @RequestMapping(value = "/queryFeePrintSpec", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryFeePrintSpec(@RequestParam(value = "communityId") String communityId, |
| | | @RequestParam(value = "specCd", required = false) String specCd, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | FeePrintSpecDto feePrintSpecDto = new FeePrintSpecDto(); |
| | | feePrintSpecDto.setPage(page); |
| | | feePrintSpecDto.setRow(row); |
| | | feePrintSpecDto.setCommunityId(communityId); |
| | | feePrintSpecDto.setSpecCd(specCd); |
| | | return getFeePrintSpecBMOImpl.get(feePrintSpecDto); |
| | | } |
| | | } |