|
@@ -33,7 +33,7 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
- id, lift_id, mt_company_id, project_id, worker_id, plan_date, work_date, count, type,
|
|
|
+ id, lift_id, mt_company_id, project_id, worker_id, plan_date, work_date, count, type,
|
|
|
status
|
|
|
</sql>
|
|
|
|
|
@@ -132,7 +132,8 @@
|
|
|
<!--app端 保养任务列表 (0:待保养、-1:超期) -->
|
|
|
<select id="findPlanByWorkerId" resultType="cn.com.ty.lift.business.maintenance.dao.entity.model.response.MaintenanceAppResponse"
|
|
|
parameterType="cn.com.ty.lift.business.maintenance.dao.entity.model.request.MaintenanceRecordRequest">
|
|
|
- SELECT p.project_name AS projectName,
|
|
|
+ SELECT DISTINCT
|
|
|
+ p.project_name AS projectName,
|
|
|
p.id AS projectId,
|
|
|
mp.id AS mtPlanId,
|
|
|
l.id AS liftId,
|