fix data export

This commit is contained in:
Timi
2026-10-26 00:33:40 +08:00
parent 389bee2e45
commit fe8e9b7a8c
22 changed files with 486 additions and 435 deletions
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.imyeyu.api.modules.gao.mapper.GaoDataExportMapper">
<select id="selectColumnNameList" resultType="string">
SELECT `column_name`
FROM `information_schema`.`columns`
WHERE `table_schema` = DATABASE()
AND `table_name` = #{tableName}
ORDER BY `ordinal_position` ASC
</select>
<sql id="exportWhere">
`${scopeColumn}` = #{scopeValue}
<if test="hasDeletedAt">