Commit a9277e2c authored by chenzhao's avatar chenzhao

修改bug

parent 4ea488e4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
jobTitleCode jobTitleCode
from cb_firefighters a from cb_firefighters a
where a.is_delete = 0 where a.is_delete = 0
<if test='bizOrgCode!=null and bizOrgCode!=""'>and a.biz_org_code = #{bizOrgCode}</if> <if test='bizOrgCode!=null and bizOrgCode!=""'>and a.biz_org_code like concat ('%',#{bizOrgCode},'%')</if>
GROUP BY a.job_title_code GROUP BY a.job_title_code
</select> </select>
<!--消防队员列表按时间倒叙排列add desc 2021-09-08 by kongfm --> <!--消防队员列表按时间倒叙排列add desc 2021-09-08 by kongfm -->
......
...@@ -134,7 +134,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi ...@@ -134,7 +134,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
) { ) {
count = count + mm.num; count = count + mm.num;
} }
m.setNum(count); m.setNum(count == 0 ? m.getNum() : count);
} }
} }
return menus; return menus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment