|
|
@@ -84,8 +84,11 @@
|
|
|
<if test="pageDto.integrityState!=null">
|
|
|
and vic.status=#{pageDto.integrityState}
|
|
|
</if>
|
|
|
- <if test="pageDto.daysState!=null">
|
|
|
- and vdc.status=#{pageDto.daysState}
|
|
|
+ <if test="pageDto.daysState==0">
|
|
|
+ and vdc.plan_days=vdc.real_days
|
|
|
+ </if>
|
|
|
+ <if test="pageDto.daysState==1">
|
|
|
+ and vdc.plan_days!=vdc.real_days
|
|
|
</if>
|
|
|
<if test="pageDto.diagnosisState!=null">
|
|
|
and vdr.is_alarm=#{pageDto.diagnosisState}
|