修改bug

zhairh
wangwei 3 years ago
parent 6d4c687bb8
commit 23091d21fb

@ -28,4 +28,5 @@ public class FilterThrProductsRequest extends ListPageRequest {
private Long id;
private String uuid;
private Integer diType;
private String companyName;
}

@ -96,6 +96,7 @@
p.zczbhhzbapzbh
FROM thr_products_add_di tdi
LEFT JOIN productinfo p ON tdi.uuid = p.uuid
LEFT JOIN company c on c.customerId=tdi.customerId
<where>
<if test="checkStatus != null">
AND tdi.status = #{checkStatus}
@ -124,6 +125,9 @@
<if test="diType != '' and diType != null">
AND p.diType = #{diType}
</if>
<if test="companyName != '' and companyName != null">
AND c.companyName = #{companyName}
</if>
</where>
order by tdi.createTime DESC

Loading…
Cancel
Save