修改bug

This commit is contained in:
haozq 2024-03-29 17:38:07 +08:00
parent 325d2a8d5e
commit 8e06d16c37
2 changed files with 10 additions and 9 deletions

View File

@ -32,7 +32,7 @@
FROM t_class_metting cm FROM t_class_metting cm
left join t_class_metting_check tcm on cm.class_id=tcm.class_id left join t_class_metting_check tcm on cm.class_id=tcm.class_id
left join sys_build so on so.org_id=cm.org left join sys_build so on so.org_id=cm.org
where cm.del_flag=0 where cm.del_flag=0 and cm.work_day=CURRENT_DATE()
<if test='type=="3"'> <if test='type=="3"'>
<if test='userId!=null and userId!="" '> <if test='userId!=null and userId!="" '>
and tcm.user_id=#{userId} and tcm.user_id=#{userId}

View File

@ -104,9 +104,10 @@
GROUP BY sw.id GROUP BY sw.id
</select> </select>
<select id="getSwData" resultType="java.lang.Integer"> <select id="getSwData" resultType="java.lang.Integer">
select count (1) select COUNT(1)
from tb_sw_source sw from tb_sw_source sw
where sw.del_flag=0 and sw.gt_id=#{gtId} where sw.del_flag=0
and sw.gt_id=#{gtId}
</select> </select>