Browse Source

[fix]销售管理

销售估价列表页面新增按照创建时间排序
dev
liuxiaoxu 3 weeks ago
parent
commit
5262f3b327
  1. 1
      ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateMapper.xml

1
ruoyi-admin/src/main/resources/mapper/sales/SalesEstimateMapper.xml

@ -46,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if> <if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if> <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectSalesEstimateById" parameterType="Long" resultMap="SalesEstimateResult"> <select id="selectSalesEstimateById" parameterType="Long" resultMap="SalesEstimateResult">

Loading…
Cancel
Save