update:修复军保统计页面bug

This commit is contained in:
Yuan
2025-10-23 15:11:04 +08:00
parent ff5bad9967
commit 94e8850a40
16 changed files with 237 additions and 355 deletions

View File

@@ -24,11 +24,8 @@
select *
from hisbill_history
where trade_date = #{trade_date}
<if test="excludeMilitaryOperators != null and excludeMilitaryOperators.size() > 0">
and HisOperCode not in
<foreach collection="excludeMilitaryOperators" item="operator" open="(" separator="," close=")">
#{operator.HISOPERCODE}
</foreach>
<if test="military_code != null and military_code != ''">
and PayType != #{military_code}
</if>
</select>
@@ -50,11 +47,8 @@
from hisbills_history
where trade_date=#{trade_date}
<if test="excludeMilitaryOperators != null and excludeMilitaryOperators.size() > 0">
and HisOperCode not in
<foreach collection="excludeMilitaryOperators" item="operator" open="(" separator="," close=")">
#{operator.HISOPERCODE}
</foreach>
<if test="military_code != null and military_code != ''">
and PayType != #{military_code}
</if>
<if test="tranID!=null and tranID!=''">
and HisTransId=#{tranID}