定时任务
This commit is contained in:
+7
-1
@@ -54,6 +54,13 @@ public class EsRevisePlanController extends BaseController<EsRevisePlan> {
|
||||
return esRevisePlans;
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取所有企标计划给流程(还未填写企业技术标准)")
|
||||
@GetMapping("getAllPlansByWkInfo")
|
||||
public List<EsRevisePlan> getAllPlansByWkInfo(){
|
||||
List<EsRevisePlan> esRevisePlans = iEsRevisePlanService.getAllPlansByWkInfo();
|
||||
return esRevisePlans;
|
||||
}
|
||||
|
||||
@ApiOperation(value = "多条件查询企标计划")
|
||||
@PostMapping("queryAllPlans")
|
||||
public ResponseMessage<Object> queryAllPlans(EsRevisePlan esRevisePlan){
|
||||
@@ -96,7 +103,6 @@ public class EsRevisePlanController extends BaseController<EsRevisePlan> {
|
||||
case "标准法规部高级经理审核":
|
||||
score=Double.valueOf(evaluationScore) * 0.15;
|
||||
break;
|
||||
|
||||
default: score=Double.valueOf(evaluationScore);
|
||||
}
|
||||
last.add(score);
|
||||
|
||||
+3
@@ -31,4 +31,7 @@ public interface IEsRevisePlanService extends IService<EsRevisePlan> {
|
||||
List<EsRevisePlan> getAllPlansByWk(String esName);
|
||||
|
||||
Object oaUpdatePlans(String esId, Date date, String s);//Ao时间 发送次数 修改
|
||||
|
||||
List<EsRevisePlan> getAllPlansByWkInfo();
|
||||
|
||||
}
|
||||
|
||||
+9
@@ -239,4 +239,13 @@ public class EsRevisePlanServiceImpl extends ServiceImpl<EsRevisePlanDao, EsRevi
|
||||
esRevisePlanDao.updateById(esRevisePlan);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<EsRevisePlan> getAllPlansByWkInfo() {
|
||||
QueryWrapper<EsRevisePlan> queryWrapper = new QueryWrapper<>();
|
||||
List<String> planStatus = new ArrayList<>();
|
||||
planStatus.add("6");
|
||||
queryWrapper.lambda().in(EsRevisePlan::getPlanStatus, planStatus);
|
||||
return esRevisePlanDao.selectList(queryWrapper);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user