新增关键字搜索

dev_no_inv
zane 10 months ago
parent 45931be879
commit d27586ab86

@ -40,5 +40,7 @@ public class IoSplitDesOrderRequest extends ListPageRequest {
*/ */
private String endTime; private String endTime;
private String keywords;
} }

@ -25,6 +25,11 @@
AND date_format(isdo.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and AND date_format(isdo.createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and
date_format(#{endTime}, '%Y-%m-%d') date_format(#{endTime}, '%Y-%m-%d')
</if> </if>
<if test="keywords != null and keywords != ''">
and (isdo.billNo like concat('%', #{keywords}, '%')
or isdo.workPlaceCode like concat('%', #{keywords}, '%')
or isdo.busType like concat('%', #{keywords}, '%'))
</if>
</where> </where>
ORDER BY isdo.createTime DESC ORDER BY isdo.createTime DESC
</select> </select>

Loading…
Cancel
Save