Эх сурвалжийг харах

1.资金各单加上中间表逻辑

heqinwei 7 жил өмнө
parent
commit
cf0f0b0364

+ 1 - 1
applications/document/document-server/src/main/resources/mapper/BankinformationMapper.xml

@@ -329,7 +329,7 @@
       <if test="companyId != null">
         and   bankinformation.companyId = #{companyId}
       </if>
-    </where>  order by bk_id
+    </where>  order by bk_date desc, bk_id desc
   </select>
   <select id="getCombo" resultType="com.usoftchina.saas.commons.dto.ComboDTO">
         SELECT CONCAT(bk_bankcode,' ',bk_bankname) display,bk_bankname value FROM bankinformation WHERE COMPANYID=#{companyId}