|
@@ -177,6 +177,9 @@
|
|
<if test="request.endTime!=null">
|
|
<if test="request.endTime!=null">
|
|
AND <![CDATA[ mp.plan_date <= #{request.endTime}]]>
|
|
AND <![CDATA[ mp.plan_date <= #{request.endTime}]]>
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="request.userId!=null">
|
|
|
|
+ order by IF(mp.worker_id = ${request.userId}, 0, 1)
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<!--app端 保养任务统计 (0:待保养、-1:超期) -->
|
|
<!--app端 保养任务统计 (0:待保养、-1:超期) -->
|