| | |
| | | import com.ruoyi.system.service.TContractService; |
| | | import com.ruoyi.system.vo.BillVO; |
| | | import com.ruoyi.system.vo.CheckAcceptRecordVO; |
| | | import com.ruoyi.system.vo.ScreenRentIncomeTrendVO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | public void terminateContract(TerminateContractDTO dto) { |
| | | TContract contract = this.baseMapper.selectById(dto.getId()); |
| | | contract.setTerminateRemark(dto.getTerminateRemark()); |
| | | contract.setTerminateTime(dto.getTerminateTime()); |
| | | this.baseMapper.updateById(contract); |
| | | // 进入合同提前终止审批流程 |
| | | ProcessStartBO processStartBO = new ProcessStartBO(); |
| | |
| | | public Integer getCurrentMonthRentCount(String businessDeptId) { |
| | | return baseMapper.getCurrentMonthRentCount(businessDeptId); |
| | | } |
| | | |
| | | @Override |
| | | public PageInfo<TContract> queryPage(TContractQuery query) { |
| | | PageInfo<TContract> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | pageInfo = this.baseMapper.page(pageInfo,query); |
| | | return pageInfo; |
| | | } |
| | | |
| | | } |