Browse Source

[feat]销售管理:客户资料查询排序按照first_add_time升序排序

dev
zhangsiqi 5 months ago
parent
commit
ebca548b84
  1. 1
      ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml
  2. 4
      ruoyi-admin/src/main/resources/templates/system/customer/customer.html

1
ruoyi-admin/src/main/resources/mapper/system/SysCustomerMapper.xml

@ -114,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and s.first_add_time between #{params.beginCreateTime} and #{params.endCreateTime}</if> <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and s.first_add_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<if test="customerSign != null and customerSign != ''"> and s.customer_sign = #{customerSign}</if> <if test="customerSign != null and customerSign != ''"> and s.customer_sign = #{customerSign}</if>
</where> </where>
order by s.first_add_time desc
</select> </select>
<select id="selectSysCustomerWithComplaintNotice" resultMap="SysCustomerResult"> <select id="selectSysCustomerWithComplaintNotice" resultMap="SysCustomerResult">

4
ruoyi-admin/src/main/resources/templates/system/customer/customer.html

@ -501,12 +501,12 @@
{title: '第一收货人邮编',field: 'deliveryCustomerPostal',visible:false}, {title: '第一收货人邮编',field: 'deliveryCustomerPostal',visible:false},
{title: '第一收货人传真',field: 'deliveryCustomerFax',visible: false}, {title: '第一收货人传真',field: 'deliveryCustomerFax',visible: false},
{title: '客户标识',field:'customerSign'}, {title: '客户标识',field:'customerSign'},
{title: '录入时间',field: 'createTime', {title: '录入时间',field: 'firstAddTime',
formatter: function (value, row, index) { formatter: function (value, row, index) {
if (value == null) {return " ";} else { return value;} if (value == null) {return " ";} else { return value;}
} }
}, },
{title: '上次修改时间',field: 'updateTime',}, {title: '上次修改时间',field: 'updateInfoTime',},
{title: '操作',align: 'center', {title: '操作',align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
var actions = []; var actions = [];

Loading…
Cancel
Save