zss
2024-09-27 a14a26c04bc5863248b9a9d387610a143c3a4efd
framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java
@@ -22,5 +22,14 @@
    @Select("select coalesce(count(id), 0) from ${tableName} where create_time like concat('%', #{date}, '%')")
    int countRowsByNow(String tableName, String date);
    @Select("select coalesce(count(id), 0) from ${tableName} where examine_time like concat('%', #{date}, '%')")
    int countRowsByNow2(String tableName, String date);
    @Select("select coalesce(count(id), 0) from ${tableName} where examine_time like concat('%', #{date}, '%') and laboratory=#{laboratory} and company_id=#{companyId}")
    int countRowsByNow3(String tableName, Long companyId, String laboratory, String date);
    @Select("select coalesce(count(id), 0) from ${tableName} where create_time like concat('%', #{date}, '%') and laboratory=#{laboratory} and company_id=#{companyId}")
    int countRowsByNow4(String tableName, Long companyId, String laboratory, String date);
}