
--- src/main/resources/spring/mapper/sql/mariadb-SQL.xml
+++ src/main/resources/spring/mapper/sql/mariadb-SQL.xml
... | ... | @@ -487,15 +487,15 @@ |
487 | 487 |
--> |
488 | 488 |
<select id="getRowDataAll" parameterType="DataTable" resultType="java.util.LinkedHashMap"> |
489 | 489 |
SELECT |
490 |
- <foreach item="item" index="index" collection="columnDatas" open="" separator="," close=""> |
|
491 |
- `${item.columnNm}` AS ${item.displyColumnNm} |
|
492 |
- </foreach> |
|
490 |
+ <foreach item="item" index="index" collection="columnDatas" open="" separator="," close=""> |
|
491 |
+ `${item.columnNm}` AS `${item.displyColumnNm}` |
|
492 |
+ </foreach> |
|
493 | 493 |
FROM |
494 |
- `${tableNm}` |
|
494 |
+ `${tableNm}` |
|
495 | 495 |
<if test="query != null and query != ''"> |
496 |
- WHERE 1 |
|
497 |
- ${query} |
|
498 |
- </if> |
|
496 |
+ WHERE 1 |
|
497 |
+ ${query} |
|
498 |
+ </if> |
|
499 | 499 |
</select> |
500 | 500 |
|
501 | 501 |
<!-- |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?