feat: bug-528 app端添加管理功能

This commit is contained in:
曹鹏飞 2025-07-29 11:05:24 +08:00
parent 63e1581a5e
commit 5b74e604ab
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,9 @@ public class SearchDeviceRequest extends PageRequest {
// 设备型号 // 设备型号
private String modelNo; private String modelNo;
// 设备编号或设备型号
private String key;
//开始时间 //开始时间
private LocalDate startTime; private LocalDate startTime;

View File

@ -86,6 +86,9 @@
<if test="request.endTime!=null and request.endTime!=''"> <if test="request.endTime!=null and request.endTime!=''">
and d.shipment_date &lt;= #{request.endTime} and d.shipment_date &lt;= #{request.endTime}
</if> </if>
<if test="request.key!=null and request.key!=''">
and (d.device_no LIKE concat('%', #{request.key}, '%') or d.model_no LIKE concat('%', #{request.key}, '%'))
</if>
</select> </select>
<!--定时任务-质保未开始--> <!--定时任务-质保未开始-->
<update id="taskWarrantyStateNotStarted"> <update id="taskWarrantyStateNotStarted">