环境不一致,sql修改

This commit is contained in:
dinggang 2022-10-13 23:43:55 +08:00
parent e920447f39
commit 74523031c8
1 changed files with 4 additions and 1 deletions

View File

@ -1924,7 +1924,10 @@
<if test="startDate != null and startDate != '' and endDate != null and endDate != ''"> <if test="startDate != null and startDate != '' and endDate != null and endDate != ''">
AND SUBSTR(taa.create_date, 1, 10) BETWEEN #{startDate} AND #{endDate} AND SUBSTR(taa.create_date, 1, 10) BETWEEN #{startDate} AND #{endDate}
</if> </if>
UNION
UNION ALL
SELECT SELECT
tmb.dept AS 'deptName', tmb.dept AS 'deptName',
tm.`name` AS 'resourceName', tm.`name` AS 'resourceName',