chenw 7 лет назад
Родитель
Сommit
e13aa425da

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

@@ -1002,6 +1002,7 @@
           ${condition}
         </if>
       </where>
+      order by prodId desc
     </select>
     <select id="selectByCode" resultMap="ProductDTOResultMapper">
         select * from product where pr_code = #{code} and companyId = #{companyId}