소스 검색

app端 保养任务统计 查询条件修改

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

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

@@ -206,6 +206,7 @@
 			</when>
 			<otherwise/>
 		</choose>
+			WHERE mp.plan_date &lt; date_format(now(),'%Y-%m-%d') AND mp.work_date IS NULL
 		<if test="request.beginTime!=null">
 			AND <![CDATA[ mp.plan_date >= #{request.beginTime}]]>
 		</if>