指标库新增web页面树形接口
This commit is contained in:
parent
1cb0677f2e
commit
8f276a3b3a
@ -430,7 +430,7 @@
|
||||
|
||||
|
||||
<!-- 统计指标状态数量 -->
|
||||
<select id="countIndexLibAuditStatusNum" parameterType="map" resultType="indexLibCountDTO">
|
||||
<select id="countIndexLibAuditStatusNum" parameterType="map" resultMap="indexLibCountDTO">
|
||||
SELECT
|
||||
COUNT(CASE WHEN `audit_status` = 0 THEN 1 ELSE NULL END) AS 'count_1' ,
|
||||
COUNT(CASE WHEN `audit_status` = 1 THEN 1 ELSE NULL END) AS 'count_2',
|
||||
|
@ -112,27 +112,15 @@
|
||||
UPDATE
|
||||
duty_index_template
|
||||
SET
|
||||
<if test="indexTemplateName != null and indexTemplateName != ''">
|
||||
index_template_name = #{indexTemplateName},
|
||||
</if>
|
||||
<if test="indexTemplateSavePath != null and indexTemplateSavePath != ''">
|
||||
index_template_save_path = #{indexTemplateSavePath},
|
||||
</if>
|
||||
<if test="indexTemplateUploadPath != null and indexTemplateUploadPath != ''">
|
||||
index_template_upload_path = #{indexTemplateUploadPath},
|
||||
</if>
|
||||
<if test="indexTemplateListPath != null and indexTemplateListPath != ''">
|
||||
index_template_list_path = #{indexTemplateListPath},
|
||||
</if>
|
||||
<if test="indexTemplateTableName != null and indexTemplateTableName != ''">
|
||||
index_template_table_name = #{indexTemplateTableName},
|
||||
</if>
|
||||
<if test="indexTemplateRemark != null and indexTemplateRemark != ''">
|
||||
index_template_remark = #{indexTemplateRemark},
|
||||
</if>
|
||||
<if test="indexTemplateState != null and indexTemplateState != ''">
|
||||
index_template_state = #{indexTemplateState},
|
||||
</if>
|
||||
index_template_name = #{indexTemplateName},
|
||||
index_template_save_path = #{indexTemplateSavePath},
|
||||
index_template_upload_path = #{indexTemplateUploadPath},
|
||||
index_template_list_path = #{indexTemplateListPath},
|
||||
index_template_table_name = #{indexTemplateTableName},
|
||||
index_template_remark = #{indexTemplateRemark},
|
||||
modifier = #{modifier},
|
||||
gmt_modified = #{gmtModified}
|
||||
WHERE
|
||||
|
Loading…
Reference in New Issue
Block a user