Commit 014a519f451dc7dd268750104383c2da91ff45e3
1 parent
dce860d26a
Exists in
dev
#fix:优化服务管理更新时间查询逻辑
Showing 1 changed file with 2 additions and 2 deletions
platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
View file @
014a519
... | ... | @@ -374,13 +374,13 @@ |
374 | 374 | <if test="updateStartDate !=null"> |
375 | 375 | AND |
376 | 376 | <![CDATA[ |
377 | - update_date>= #{updateStartDate} | |
377 | + DATEDIFF(#{updateStartDate},update_date)<=0 | |
378 | 378 | ]]> |
379 | 379 | </if> |
380 | 380 | <if test="updateEndDate !=null"> |
381 | 381 | AND |
382 | 382 | <![CDATA[ |
383 | - update_date<= #{updateEndDate} | |
383 | + DATEDIFF(#{updateEndDate},update_date)>=0 | |
384 | 384 | ]]> |
385 | 385 | </if> |
386 | 386 | <if test="renew !=null"> |