修复检查类型问题

This commit is contained in:
wenc000 2020-08-05 21:19:32 +08:00
parent c940a6e442
commit bb3707467e

View File

@ -401,6 +401,10 @@
gen_check
WHERE
is_delete = 0
<if test="checkType != null and checkType != ''">
AND
check_type = #{checkType}
</if>
<if test="year != null and year != ''">
AND
LEFT(gmt_create, 4) = #{year}