From b85a7f932b9d789a2e9bdb36e366c36c2e1eb3cc Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 17 四月 2025 11:31:53 +0800 Subject: [PATCH] 查询考核成绩为null,为前端添加数据默认为0 --- ycl-server/src/main/resources/mapper/zgyw/YwThresholdMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwThresholdMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwThresholdMapper.xml index 0e50e52..40e64a0 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/YwThresholdMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/YwThresholdMapper.xml @@ -32,6 +32,7 @@ <if test="description != null and description != ''"> and description = #{description}</if> <if test="deleted != null and deleted != ''"> and deleted = #{deleted}</if> </where> + ORDER BY order_num ASC </select> <select id="selectYwThresholdById" parameterType="Long" resultMap="YwThresholdResult"> -- Gitblit v1.8.0