| | |
| | | |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.RoomDto; |
| | | import com.java110.dto.room.RoomDto; |
| | | import com.java110.dto.fee.FeeDto; |
| | | import com.java110.dto.owner.OwnerAttrDto; |
| | | import com.java110.dto.owner.OwnerCarDto; |
| | | import com.java110.dto.owner.OwnerDto; |
| | | import com.java110.dto.ownerCarAttr.OwnerCarAttrDto; |
| | | import com.java110.dto.reportOwnerPayFee.ReportOwnerPayFeeDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.intf.report.IReportCommunityInnerServiceSMO; |
| | | import com.java110.intf.report.IReportOwnerPayFeeInnerServiceSMO; |
| | | import com.java110.intf.user.IOwnerAttrInnerServiceSMO; |
| | | import com.java110.po.reportOwnerPayFee.ReportOwnerPayFeePo; |
| | | import com.java110.report.dao.IReportCommunityServiceDao; |
| | | import com.java110.report.dao.IReportOwnerPayFeeServiceDao; |
| | | import com.java110.utils.constant.StatusConstant; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @ClassName FloorInnerServiceSMOImpl |
| | |
| | | } |
| | | |
| | | @Override |
| | | public int queryHisOwnerCount(OwnerDto ownerDto) { |
| | | public int queryHisOwnerCount(@RequestBody OwnerDto ownerDto) { |
| | | return reportCommunityServiceDaoImpl.queryHisOwnerCount(BeanConvertUtil.beanCovertMap(ownerDto)); |
| | | } |
| | | |
| | | @Override |
| | | public List<OwnerDto> queryHisOwners(OwnerDto ownerDto) { |
| | | public List<OwnerDto> queryHisOwners(@RequestBody OwnerDto ownerDto) { |
| | | int page = ownerDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | |
| | | return ownerDtos; |
| | | } |
| | | |
| | | @Override |
| | | public int queryHisFeeCount(@RequestBody FeeDto feeDto) { |
| | | return reportCommunityServiceDaoImpl.queryHisFeeCount(BeanConvertUtil.beanCovertMap(feeDto)); |
| | | } |
| | | |
| | | @Override |
| | | public List<FeeDto> queryHisFees(@RequestBody FeeDto feeDto) { |
| | | int page = feeDto.getPage(); |
| | | |
| | | if (page != PageDto.DEFAULT_PAGE) { |
| | | feeDto.setPage((page - 1) * feeDto.getRow()); |
| | | } |
| | | |
| | | List<FeeDto> feeDtos = BeanConvertUtil.covertBeanList( |
| | | reportCommunityServiceDaoImpl.queryHisFees(BeanConvertUtil.beanCovertMap(feeDto)), |
| | | FeeDto.class); |
| | | |
| | | return feeDtos; |
| | | } |
| | | |
| | | /** |
| | | * 获取批量userId |
| | | * |