|
@@ -13,6 +13,7 @@ import com.ym.mec.biz.service.InspectionItemPlanService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
import com.ym.mec.common.page.PageInfo;
|
|
|
+import com.ym.mec.util.date.DateUtil;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -84,6 +85,12 @@ public class InspectionItemPlanController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if (queryInfo.getStartTime() != null) {
|
|
|
+ queryInfo.setStartTime(DateUtil.trunc(queryInfo.getStartTime()));
|
|
|
+ }
|
|
|
+ if (queryInfo.getEndTime() != null) {
|
|
|
+ queryInfo.setEndTime(DateUtil.getLastTimeWithDay(queryInfo.getEndTime()));
|
|
|
+ }
|
|
|
if (queryInfo.getItemId() != null) {
|
|
|
queryInfo.setUserId(sysUser.getId());
|
|
|
}
|