环境不一致,sql修改
This commit is contained in:
parent
e920447f39
commit
74523031c8
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue