Browse Source

生成编号 优化

tags/24080901
PoffyZhang 1 year ago
parent
commit
f5898b21c8
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      pmapi/src/test/java/com/ningdatech/pmapi/todocenter/TodoCenterTest.java

+ 3
- 2
pmapi/src/test/java/com/ningdatech/pmapi/todocenter/TodoCenterTest.java View File

@@ -8,6 +8,7 @@ import com.ningdatech.file.entity.vo.result.FileResultVO;
import com.ningdatech.file.service.FileService; import com.ningdatech.file.service.FileService;
import com.ningdatech.pmapi.AppTests; import com.ningdatech.pmapi.AppTests;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum; import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeEnum;
import com.ningdatech.pmapi.projectlib.enumeration.ProjectTypeNewEnum;
import com.ningdatech.pmapi.projectlib.manage.ProjectLibManage; import com.ningdatech.pmapi.projectlib.manage.ProjectLibManage;
import com.ningdatech.pmapi.projectlib.model.entity.Project; import com.ningdatech.pmapi.projectlib.model.entity.Project;
import com.ningdatech.pmapi.projectlib.model.vo.ProjectDetailVO; import com.ningdatech.pmapi.projectlib.model.vo.ProjectDetailVO;
@@ -149,8 +150,8 @@ public class TodoCenterTest extends AppTests {
JSONObject paramsMap = JSONObject.parseObject(JSONObject.toJSONString(pdfGenerateDTO)); JSONObject paramsMap = JSONObject.parseObject(JSONObject.toJSONString(pdfGenerateDTO));
paramsMap.put("time", NdDateUtils.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm")); paramsMap.put("time", NdDateUtils.format(LocalDateTime.now(), "yyyy-MM-dd HH:mm"));
paramsMap.put("isTemporaryAugment", "否"); paramsMap.put("isTemporaryAugment", "否");
Integer projectType = projectDetail.getProjectType();
paramsMap.put("projectType", ProjectTypeEnum.getDesc(projectType));
String projectType = projectDetail.getProjectType();
paramsMap.put("projectType", ProjectTypeNewEnum.getDesc(projectType));
Integer isFirst = projectDetail.getIsFirst(); Integer isFirst = projectDetail.getIsFirst();
paramsMap.put("isFirst", "是"); paramsMap.put("isFirst", "是");
Boolean isInnovateWholeProvinceShare = projectDetail.getIsInnovateWholeProvinceShare(); Boolean isInnovateWholeProvinceShare = projectDetail.getIsInnovateWholeProvinceShare();


Loading…
Cancel
Save