|
|
@@ -246,7 +246,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null">LEFT JOIN gxt_repair_order_person p ON p.order_id = t.id</if>
|
|
|
<where>
|
|
|
<if test="userId != null"> and p.user_id=#{userId}</if>
|
|
|
- <if test="workOrderStatus != null and workOrderStatus != ''"> and work_order_status = #{workOrderStatus}</if>
|
|
|
+ <if test="workOrderStatus != null and workOrderStatus != ''"> and work_order_status IN ('completed','archived')</if>
|
|
|
<if test="pcsStationPid != null "> and pcs_station_pid = #{pcsStationPid}</if>
|
|
|
<if test="maintenanceType != null and maintenanceType != ''"> and maintenance_type = #{maintenanceType}</if>
|
|
|
<if test="monthPeriod != null"> and DATE_FORMAT(occur_time, '%Y-%m') = #{monthPeriod}</if>
|