无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
cloud-server-other/src/main/java/com/dsh/other/mapper/SiteBookingMapper.java
@@ -3,7 +3,10 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.other.entity.SiteBooking;
import com.dsh.other.model.BillingRequestOfType;
import com.dsh.other.model.SiteBookingQuery;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
/**
@@ -11,6 +14,9 @@
 * @date 2023/7/13 16:48
 */
public interface SiteBookingMapper extends BaseMapper<SiteBooking> {
    List<BillingRequestOfType> queryDatas(Integer appUserId, String monthStart, String monthEnd);
    List<BillingRequestOfType> queryDatas(@Param("appUserId") Integer appUserId, @Param("monthStart") String monthStart, @Param("monthEnd") String monthEnd);
    List<SiteBooking> listAll(@Param("query") SiteBookingQuery query, @Param("sTime") String sTime, @Param("eTime") String eTime, @Param("amount") BigDecimal amount);
    Integer queryByCode(String code);
}