From 9c61e9c8f99cc3c35f2940333605981ef4b30fbb Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 19 八月 2024 18:20:20 +0800 Subject: [PATCH] 工时管理小数点问题 --- framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java b/framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java index fc5f555..045f040 100644 --- a/framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java +++ b/framework/src/main/java/com/yuanchu/mom/mapper/SystemLogMapper.java @@ -28,5 +28,8 @@ @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); } -- Gitblit v1.9.3