Parcourir la source

合同及客户信息修改

lizhenhao il y a 2 ans
Parent
commit
af9e224875

+ 3 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/program/configuration/projectList/domain/ProgramProjectListInfo.java

@@ -94,6 +94,9 @@ public class ProgramProjectListInfo {
 
     private String projectType;
 
+    /**
+     * 项目立项号
+     */
     private String approvalNo;
 
     private String company;

+ 3 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/program/configuration/projectList/service/ProjectListService.java

@@ -69,8 +69,11 @@ public class ProjectListService {
         String id = UUID.randomUUID().toString().replace("-", "");
         //合同编号生成
         String no = serialnumTplService.genSerialNum(userDTO.getCompanyDTO().getId(), ProjectListDto.BIZ_CODE);
+        //项目立项号生成
+        String approvalNo = serialnumTplService.genSerialNum(userDTO.getCompanyDTO().getId(), ProjectListDto.BIY_CODE);
         info.setId(id);
         info.setNo(no);
+        info.setApprovalNo(approvalNo);
         info.setCreateBy(userDTO.getId());
         info.setCreateDate(new Date());
         info.setUpdateBy(userDTO.getId());

+ 1 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/program/configuration/projectList/service/dto/ProjectListDto.java

@@ -17,6 +17,7 @@ import java.util.List;
 public class ProjectListDto extends BaseEntity {
 
     public static final String BIZ_CODE = "xmlb";
+    public static final String BIY_CODE = "6";
 
     private String contractId;