|
|
@ -20,7 +20,13 @@ |
|
|
|
</resultMap> |
|
|
|
<select id="getTemplateConfigForExport" resultType="com.epmet.dto.result.IcExportTemplateForExportResultDTO"> |
|
|
|
SELECT |
|
|
|
c.ID,c.TEMP_ID,c.LABEL,c.PID,c.sort,ifi.ID AS itemId,ifig.TABLE_NAME,concat(ifi.COLUMN_NAME,if(ifi.COLUMN_NUM = 0,'',ifi.COLUMN_NUM)) columnName, |
|
|
|
c.ID,c.TEMP_ID, |
|
|
|
c.LABEL, |
|
|
|
c.PID, |
|
|
|
c.sort, |
|
|
|
ifi.ID AS itemId, |
|
|
|
ifig.TABLE_NAME, |
|
|
|
concat(ifi.COLUMN_NAME,if(ifi.COLUMN_NUM = 0,'',ifi.COLUMN_NUM)) columnName, |
|
|
|
ifi2.OPTION_SOURCE_VALUE |
|
|
|
FROM ic_export_template_config c |
|
|
|
LEFT JOIN ic_form_item ifi ON c.FORM_ITEM_ID = ifi.ID |
|
|
|