| | |
| | | import com.ruoyi.common.constant.AmountConstant; |
| | | import com.ruoyi.common.constant.CacheConstants; |
| | | import com.ruoyi.common.core.redis.RedisCache; |
| | | import com.ruoyi.common.enums.DisabledEnum; |
| | | import com.ruoyi.common.exception.ServiceException; |
| | | import com.ruoyi.common.utils.*; |
| | | import com.ruoyi.common.utils.uuid.UUID; |
| | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void saveBill(TbillSaveDto bill) { |
| | | bill.setManualAddition(DisabledEnum.YES.getCode()); |
| | | save(bill); |
| | | if (bill.getBillType().equals("3")){ |
| | | if (bill.getDetails()==null || bill.getDetails().size()==0){ |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<ScreenRentRankVO> getStreetRentRank() { |
| | | return baseMapper.getStreetRentRank(); |
| | | public List<ScreenRentRankVO> getStreetRentRank(String businessDeptId) { |
| | | return baseMapper.getStreetRentRank(businessDeptId); |
| | | } |
| | | /** |
| | | * 查询季付账单 |
| | | * @param businessDeptId |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<TBill> getJiFuBillList(String businessDeptId) { |
| | | return baseMapper.getJiFuBillList(businessDeptId,null,null); |
| | | } |
| | | |
| | | /** |
| | | * 查询当前季度的季付账单 |
| | | * @param businessDeptId |
| | | * @param first |
| | | * @param last |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<TBill> getJiFuBillListByTime(String businessDeptId, Date first, Date last) { |
| | | return baseMapper.getJiFuBillList(businessDeptId,first,last); |
| | | } |
| | | |
| | | @Override |