src/main/java/org/springblade/modules/grid/mapper/GridWorkLogMapper.xml
@@ -56,13 +56,13 @@ <if test="gridWorkLog.roleName=='wgy'"> <choose> <when test="gridCodeList !=null and gridCodeList.size()>0"> and jh.grid_code in and jhs.grid_code in <foreach collection="gridCodeList" item="code" open="(" close=")" separator=","> #{code} </foreach> </when> <otherwise> and jh.grid_code in ('') and jhs.grid_code in ('') </otherwise> </choose> </if> @@ -106,6 +106,7 @@ </otherwise> </choose> </if> order by jgwl.id desc </select> <!--走访日志数量统计-->