fix: 修复流程企标计划接口查询Bug
This commit is contained in:
+3
-1
@@ -6,6 +6,7 @@ import com.jero.common.aspect.annotation.AutoLog;
|
||||
import com.jero.modules.activiti.process.esInitChange.entity.ProcessEsInitChange;
|
||||
import com.jero.modules.activiti.process.esInitChange.service.ProcessEsInitChangeService;
|
||||
import com.jero.modules.laws.common.constant.FieldCommon;
|
||||
import com.jero.modules.laws.enterprise.entity.dto.ESPlanQueryDTO;
|
||||
import com.jero.modules.laws.enterprise.service.EnterpriseStandardPlanService;
|
||||
import com.jero.modules.laws.enterprise.util.EnterpriseStandardUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -147,8 +148,9 @@ public class ProcessESInitChangeController {
|
||||
@GetMapping(value = "/getESPList")
|
||||
public Result<?> getESPList(@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
||||
ESPlanQueryDTO esPlanQueryDTO,
|
||||
@RequestParam("projectType") String projectType,
|
||||
@RequestParam(name="revisionType", required = false) String revisionType) {
|
||||
return Result.OK(espService.getESPList(pageNo, pageSize, projectType, revisionType));
|
||||
return Result.OK(espService.getESPList(pageNo, pageSize, esPlanQueryDTO, projectType, revisionType));
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -51,9 +51,10 @@ public interface EnterpriseStandardPlanService extends IService<EnterpriseStanda
|
||||
*
|
||||
* @param pageNo
|
||||
* @param pageSize
|
||||
* @param esPlanQueryDTO
|
||||
* @param projectType
|
||||
* @param revisionType
|
||||
* @return
|
||||
*/
|
||||
IPage<EnterpriseStandardPlanVo> getESPList(Integer pageNo, Integer pageSize, String projectType, String revisionType);
|
||||
IPage<EnterpriseStandardPlanVo> getESPList(Integer pageNo, Integer pageSize, ESPlanQueryDTO esPlanQueryDTO, String projectType, String revisionType);
|
||||
}
|
||||
|
||||
+1
-3
@@ -76,10 +76,8 @@ public class EnterpriseStandardPlanServiceImpl extends ServiceImpl<EnterpriseSta
|
||||
|
||||
|
||||
@Override
|
||||
public IPage<EnterpriseStandardPlanVo> getESPList(Integer pageNo, Integer pageSize, String projectType, String revisionType) {
|
||||
public IPage<EnterpriseStandardPlanVo> getESPList(Integer pageNo, Integer pageSize, ESPlanQueryDTO esPlanQueryDTO, String projectType, String revisionType) {
|
||||
// 构建查询参数
|
||||
ESPlanQueryDTO esPlanQueryDTO = new ESPlanQueryDTO();
|
||||
|
||||
if (!ESPProjectType.MERGE.getValue().equals(projectType)) {
|
||||
// 完成时间变更 未开始/进行中
|
||||
// 工作中止 未开始/进行中
|
||||
|
||||
Reference in New Issue
Block a user