Commit 19b54617 by yao.xiao

修改查询bug

parent abfeba86
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
AND i.id = #{item.insurerId,jdbcType=BIGINT} AND i.id = #{item.insurerId,jdbcType=BIGINT}
</if> </if>
<if test="item.insurerBranchId != null"> <if test="item.insurerBranchId != null">
and pra.insurer_branch_id = #{item.insurerBranchDeptId,jdbcType=BIGINT} and pra.insurer_branch_id = #{item.insurerBranchId,jdbcType=BIGINT}
</if> </if>
<if test="item.insurerBranchDeptId != null"> <if test="item.insurerBranchDeptId != null">
and dept.id = #{item.insurerBranchDeptId,jdbcType=BIGINT} and dept.id = #{item.insurerBranchDeptId,jdbcType=BIGINT}
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
and pb.payout_yearmonth = #{item.payoutYearmonth,jdbcType=VARCHAR} and pb.payout_yearmonth = #{item.payoutYearmonth,jdbcType=VARCHAR}
</if> </if>
<if test="item.insurerBranchId != null"> <if test="item.insurerBranchId != null">
and pra.insurer_branch_id = #{item.insurerBranchDeptId,jdbcType=BIGINT} and pra.insurer_branch_id = #{item.insurerBranchId,jdbcType=BIGINT}
</if> </if>
<if test="item.insurerBranchDeptId != null"> <if test="item.insurerBranchDeptId != null">
and dept.id = #{item.insurerBranchDeptId,jdbcType=BIGINT} and dept.id = #{item.insurerBranchDeptId,jdbcType=BIGINT}
......
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