소스 검색

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

wanghaicheng 5 년 전
부모
커밋
500114637d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lift-business-service/src/main/resources/mapper/maintenance/MaintenancePlanMapper.xml

+ 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}