fix: 稳定模型参数查询顺序
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<select id="selectByProjectAndModel" resultMap="ModelParamResult">
|
||||
<include refid="selectModelParamVo"/>
|
||||
where project_id = #{projectId} and model_code = #{modelCode}
|
||||
order by sort_order asc
|
||||
order by sort_order asc, id asc
|
||||
</select>
|
||||
|
||||
<select id="selectDistinctModels" resultMap="ModelParamResult">
|
||||
@@ -43,7 +43,7 @@
|
||||
<select id="selectByProjectId" resultType="CcdiModelParam">
|
||||
<include refid="selectModelParamVo"/>
|
||||
WHERE project_id = #{projectId}
|
||||
ORDER BY model_code, sort_order
|
||||
ORDER BY model_code, sort_order, id
|
||||
</select>
|
||||
<update id="batchUpdateParamValues">
|
||||
update ccdi_model_param
|
||||
|
||||
Reference in New Issue
Block a user