bugfix:对账完成
This commit is contained in:
@@ -75,6 +75,23 @@
|
||||
<if test="likeFiled!=null and likeFiled!=''">
|
||||
and C_YSDDH like concat('%',concat(#{likeFiled},'%'))
|
||||
</if>
|
||||
and C_SHDDH in (
|
||||
select C_SHDDH
|
||||
from bankbill_history
|
||||
<where>
|
||||
<if test="startTime!=null and startTime!=''">
|
||||
and C_JYRQ >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime!=null and endTime!=''">
|
||||
and C_JYRQ <= #{endTime}
|
||||
</if>
|
||||
<if test="c_zffs!=null and c_zffs!=''">
|
||||
and C_ZFFS = #{c_zffs}
|
||||
</if>
|
||||
</where>
|
||||
group by C_SHDDH
|
||||
having ROUND(SUM(CAST(C_JYJE AS DECIMAL(18,2))), 2) != 0
|
||||
)
|
||||
</where>
|
||||
order by C_JYRQ,C_JYSJ
|
||||
</select>
|
||||
@@ -267,4 +284,4 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user