项目进度的支持使用项目编号搜索

This commit is contained in:
砂糖
2025-12-03 15:18:38 +08:00
parent 5f03c019bb
commit 120ae4f38a
4 changed files with 8 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ public class OaProjectScheduleServiceImpl implements IOaProjectScheduleService {
QueryWrapper<OaProjectSchedule> lqw = Wrappers.query();
lqw.eq("ops.del_flag", 0);
lqw.eq(bo.getProjectId() != null,"ops.project_id", bo.getProjectId());
lqw.eq(bo.getTemplateId() != null, "ops.template_id", bo.getTemplateId());
lqw.eq(bo.getCurrentStep() != null, "ops.current_step", bo.getCurrentStep());
lqw.eq(bo.getStatus() != null, "ops.status", bo.getStatus());
@@ -94,6 +95,7 @@ public class OaProjectScheduleServiceImpl implements IOaProjectScheduleService {
lqw.eq(bo.getTradeType() !=null, "op.trade_type",bo.getTradeType());
//根据代号
lqw.like(bo.getProjectCode() != null, "op.project_code", bo.getProjectCode());
lqw.like(bo.getProjectNum() != null, "op.project_num", bo.getProjectNum());
lqw.gt(bo.getPrePay()!=null&&bo.getPrePay()>0, "op.pre_pay", 0);
// lqw.between(params.get("beginCreateTime") != null && params.get("endCreateTime") != null,
// "op.begin_time", params.get("beginCreateTime"), params.get("endCreateTime"));