浏览代码

供销社xml desc

wangzhe 1 年之前
父节点
当前提交
fb20e45ac8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sooka-jnb/src/main/resources/mapper/cooperative/CooperativeMapper.xml

+ 1 - 0
sooka-jnb/src/main/resources/mapper/cooperative/CooperativeMapper.xml

@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="chargePhone != null  and chargePhone != ''"> and charge_phone = #{chargePhone}</if>
             <if test="imgUrl != null  and imgUrl != ''"> and img_url = #{imgUrl}</if>
         </where>
+        order by create_by desc
     </select>
     
     <select id="selectCooperativeById" parameterType="java.lang.Long" resultMap="CooperativeResult">