Browse Source

merge

tags/24080901
Lierbao 1 year ago
parent
commit
c6780a9fb6
5 changed files with 22 additions and 6 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/constant/BizConst.java
  2. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/common/constant/CommonConstant.java
  3. +3
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java
  4. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/organization/manage/OrganizationManage.java
  5. +14
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/schedule/task/BatchUpdateOrganizationTask.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/constant/BizConst.java View File

@@ -19,7 +19,7 @@ public interface BizConst {
*/ */
String LIMIT_1 = "limit 1"; String LIMIT_1 = "limit 1";


String COOKIE_KEY = "ND_CAR_RENTAL_JSESSION";
String COOKIE_KEY = "ND_PROJECT_MANAGEMENT_JSESSION";


/** /**
* 一小时秒数 * 一小时秒数


+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/common/constant/CommonConstant.java View File

@@ -9,9 +9,9 @@ public class CommonConstant {


public static final String COOKIE_KEY = "ND_JSESSION"; public static final String COOKIE_KEY = "ND_JSESSION";


public static final Integer EXPORT_PAGE_NUMBER= 1;
public static final Integer EXPORT_PAGE_NUMBER = 1;


public static final Integer EXPORT_PAGE_SIZE= 100000;
public static final Integer EXPORT_PAGE_SIZE = 100000;
public static final String CALL_STATUS = "status"; public static final String CALL_STATUS = "status";
public static final String CALL_STATUS_OK_VALUE = "ok"; public static final String CALL_STATUS_OK_VALUE = "ok";




+ 3
- 3
pmapi/src/main/java/com/ningdatech/pmapi/organization/controller/OrganizationProcdefController.java View File

@@ -35,8 +35,8 @@ public class OrganizationProcdefController {
@ApiOperation(value = "单位流程配置列表", notes = "单位流程配置列表") @ApiOperation(value = "单位流程配置列表", notes = "单位流程配置列表")
@GetMapping("/list") @GetMapping("/list")
public PageVo<OrgProcdefVo> list(@RequestParam String orgCode, @RequestParam(defaultValue = "1") Integer pageNum, public PageVo<OrgProcdefVo> list(@RequestParam String orgCode, @RequestParam(defaultValue = "1") Integer pageNum,
@RequestParam(defaultValue = "10") Integer pageSize) {
return orgProcdefService.getOrgProcessByOrgCode(orgCode,pageNum,pageSize);
@RequestParam(defaultValue = "10") Integer pageSize) {
return orgProcdefService.getOrgProcessByOrgCode(orgCode, pageNum, pageSize);
} }


@ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情") @ApiOperation(value = "单位流程配置详情", notes = "单位流程配置详情")
@@ -44,7 +44,7 @@ public class OrganizationProcdefController {
public OrgProcdefVo detail(@PathVariable String procdefId) { public OrgProcdefVo detail(@PathVariable String procdefId) {
WflowOrgModelHistorys lastVersionModel = orgProcessModelService.getLastVersionModel(procdefId); WflowOrgModelHistorys lastVersionModel = orgProcessModelService.getLastVersionModel(procdefId);
OrgProcdefVo vo = new OrgProcdefVo(); OrgProcdefVo vo = new OrgProcdefVo();
BeanUtils.copyProperties(lastVersionModel,vo);
BeanUtils.copyProperties(lastVersionModel, vo);
return vo; return vo;
} }




+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/organization/manage/OrganizationManage.java View File

@@ -10,4 +10,6 @@ import org.springframework.stereotype.Component;
@Component @Component
@RequiredArgsConstructor @RequiredArgsConstructor
public class OrganizationManage { public class OrganizationManage {


} }

+ 14
- 0
pmapi/src/main/java/com/ningdatech/pmapi/schedule/task/BatchUpdateOrganizationTask.java View File

@@ -0,0 +1,14 @@
package com.ningdatech.pmapi.schedule.task;

import org.springframework.stereotype.Component;

/**
* @author liuxinxin
* @date 2023/1/12 上午9:53
* 批量获取/更新部门信息任务
*/
@Component
public class BatchUpdateOrganizationTask {


}

Loading…
Cancel
Save