Browse Source

添加个条件查询

master
shenzhouyu 6 months ago
parent
commit
a4a53645ba
  1. 2
      src/main/java/com/gaotao/modules/customer/entity/dto/ShipmentIssueDto.java
  2. 3
      src/main/resources/mapper/notify/IssureNotifyMapper.xml

2
src/main/java/com/gaotao/modules/customer/entity/dto/ShipmentIssueDto.java

@ -23,6 +23,8 @@ public class ShipmentIssueDto {
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date endDate;
private String createdBy;
private int page;
private int limit;
private List<String> orderStatusList;

3
src/main/resources/mapper/notify/IssureNotifyMapper.xml

@ -489,6 +489,9 @@ record_version,out_work_order_flag,project_id,order_type,auth_rule_id,bu)
<if test="data.pushWcsFlag != null and data.pushWcsFlag != ''">
AND a.push_wcs_flag = #{data.pushWcsFlag}
</if>
<if test="data.createdBy != null and data.createdBy != ''">
AND LOWER(a.username) LIKE CONCAT('%', LOWER(#{data.createdBy}), '%')
</if>
and a.status!='UNISSUE'
</where>
order by a.notify_no desc

Loading…
Cancel
Save