| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.account.api.dto.ChargingCardExcelDTO; |
| | | import com.ruoyi.account.api.dto.ChargingCardQueryDTO; |
| | | import com.ruoyi.account.api.model.TChargingCard; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | public interface TChargingCardMapper extends BaseMapper<TChargingCard> { |
| | | |
| | | IPage<TChargingCard> selectCardPage(Page<TChargingCard> page, |
| | | @Param("query") ChargingCardQueryDTO query); |
| | | |
| | | List<ChargingCardExcelDTO> selectExportList(@Param("query") ChargingCardQueryDTO query); |
| | | |
| | | int countByCardNo(@Param("cardNo") String cardNo, @Param("excludeId") Long excludeId); |
| | | |
| | | int adjustBalance(@Param("ids") List<Long> ids, |
| | | @Param("amount") BigDecimal amount, |
| | | @Param("type") Integer type, |
| | | @Param("maxAmount") BigDecimal maxAmount, |
| | | @Param("updateBy") Long updateBy); |
| | | |
| | | int insertBalanceRecord(@Param("cardId") Long cardId, |
| | | @Param("type") Integer type, |
| | | @Param("amount") BigDecimal amount, |
| | | @Param("remark") String remark, |
| | | @Param("createBy") Long createBy); |
| | | } |