Преглед на файлове

常用症状添加排序

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>