浏览代码

常用症状添加排序

wangyu 6 年之前
父节点
当前提交
71aa19b430
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      icss-service/src/main/resources/mapper/QuestionUsualMapper.xml

+ 2 - 0
icss-service/src/main/resources/mapper/QuestionUsualMapper.xml

@@ -14,6 +14,7 @@
         <result column="dept_id" property="deptId" />
         <result column="usual" property="usual" />
         <result column="type" property="type" />
+        <result column="order_no" property="orderNo" />
         <result column="remark" property="remark" />
     </resultMap>
 
@@ -33,5 +34,6 @@
         <if test="sexType != 3">
             and b.sex_type in ('3',#{sexType})
         </if>
+        order by c.order_no
     </select>
 </mapper>