| | |
| | | import com.java110.intf.fee.IFeeReceiptDetailInnerServiceSMO; |
| | | import com.java110.po.fee.FeeReceiptDetailPo; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.utils.util.StringUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | feeReceiptDetailDto.setPage((page - 1) * feeReceiptDetailDto.getRow()); |
| | | } |
| | | |
| | | switch (feeReceiptDetailDto.getOrderBy()){ |
| | | case "start_time": |
| | | break; |
| | | default: |
| | | feeReceiptDetailDto.setOrderBy(""); |
| | | if(!StringUtil.isEmpty(feeReceiptDetailDto.getOrderBy())) { |
| | | switch (feeReceiptDetailDto.getOrderBy()) { |
| | | case "start_time": |
| | | break; |
| | | default: |
| | | feeReceiptDetailDto.setOrderBy(""); |
| | | } |
| | | } |
| | | |
| | | List<FeeReceiptDetailDto> feeReceiptDetails = BeanConvertUtil.covertBeanList(feeReceiptDetailServiceDaoImpl.getFeeReceiptDetailInfo(BeanConvertUtil.beanCovertMap(feeReceiptDetailDto)), FeeReceiptDetailDto.class); |