Procházet zdrojové kódy

修改维保计划列表查询,从mp.worker_id查询变成plr.worker_id

wanghaicheng před 5 roky
rodič
revize
500114637d

+ 1 - 1
lift-business-service/src/main/resources/mapper/maintenance/MaintenancePlanMapper.xml

@@ -98,7 +98,7 @@
 			AND p.id = #{request.projectId,jdbcType=BIGINT}
 		</if>
 		<if test="request.workerId!=null and request.workerId > 0">
-			AND mp.worker_id = #{request.workerId,jdbcType=BIGINT}
+			AND plr.worker_id = #{request.workerId,jdbcType=BIGINT}
 		</if>
 		<if test="request.regionId!=null and request.regionId > 0">
 			AND p.region_id = #{request.regionId,jdbcType=BIGINT}