|
|
@@ -141,7 +141,10 @@ func (this *LimsCheckEquipmentListController) GetEntityList() {
|
|
|
}
|
|
|
|
|
|
if QueryCheckDate != "" {
|
|
|
- where = where + " and date_add(LastCheckDate, interval " + QueryCheckDate + " month) >= now()"
|
|
|
+ if QueryCheckDate == "500" {
|
|
|
+ where = where + " and now() > NextCheckDate"
|
|
|
+ }else {
|
|
|
+ where = where + " and date_add(now(), interval " + QueryCheckDate + " month) >= NextCheckDate AND NextCheckDate > now()"}
|
|
|
}
|
|
|
|
|
|
if statusValue != "" {
|