|
@@ -8,6 +8,7 @@ import com.ozs.common.constant.ModularConstans;
|
|
|
import com.ozs.common.core.controller.BaseController;
|
|
|
import com.ozs.common.core.domain.AjaxResult;
|
|
|
import com.ozs.common.enums.BusinessType;
|
|
|
+import com.ozs.common.utils.SecurityUtils;
|
|
|
import com.ozs.common.utils.StringUtils;
|
|
|
import com.ozs.home.domain.HomeNotice;
|
|
|
import com.ozs.home.domain.vo.HomeNoticeVo;
|
|
@@ -15,6 +16,7 @@ import com.ozs.home.service.HomeNoticeService;
|
|
|
import com.ozs.plan.doman.PlanYears;
|
|
|
import com.ozs.plan.doman.vo.requestVo.PlanYearsStandardVo;
|
|
|
import com.ozs.plan.service.PlanYearsService;
|
|
|
+import com.ozs.pm.doman.PmDemand;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
@@ -79,6 +81,8 @@ public class HomeNoticeController extends BaseController {
|
|
|
LambdaQueryWrapper<PlanYears> lw = new LambdaQueryWrapper<PlanYears>();
|
|
|
if (!StringUtils.isBlank(yearsStandardVo.getProjectName())) {
|
|
|
lw.like(PlanYears::getProjectName, "%" + yearsStandardVo.getProjectName() + "%");
|
|
|
+ lw.eq(PlanYears::getDelFlay, 0);
|
|
|
+ lw.eq(PlanYears::getPurchaseDeptId, SecurityUtils.getDeptId());
|
|
|
}
|
|
|
List<PlanYears> list = planYearsService.list(lw);
|
|
|
return AjaxResult.success(list);
|