ソースを参照

新增如果是科明未开单的信息,直接从指定编号开始

anderx 1 週間 前
コミット
d1a6f1c64e

+ 5 - 3
src/main/java/com/goafanti/order/service/impl/OrderNewServiceImpl.java

@@ -1106,11 +1106,13 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
 			String sno=null;
 			//新增如果是科明未开单的信息,直接从指定编号开始
 			if (StringUtils.isEmpty(max)||max.length()<13) {
-				String cn=""+dep.getAbbreviation()+"-"+y+"0001";
+				String cn= dep.getAbbreviation()+"-"+y+"0001";
 				if (dep.getAbbreviation().contains("NMKMZL")){
-					cn=""+dep.getAbbreviation()+"-"+y+"00010";
+					cn= dep.getAbbreviation()+"-"+y+"00010";
 				}else if (dep.getAbbreviation().contains("KMZL")){
-					cn=""+dep.getAbbreviation()+"-"+y+"00045";
+					cn= dep.getAbbreviation()+"-"+y+"00045";
+				}else if (dep.getAbbreviation().contains("NMXKD")){
+					cn= dep.getAbbreviation()+"-"+y+"00004";
 				}
 				cn=iterationNo(cn,dep.getAbbreviation(),y,1);
 				t.setContractNo(cn);

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -1,7 +1,7 @@
 dev.name=local
 spring.main.lazy-initialization=true
 jdbc.driverClassName=com.mysql.jdbc.Driver
-kede.version=1.3.48
+kede.version=1.3.49
 #kede.version=1.3.39
 static.host=//static.jishutao.com/${kede.version}
 #static.host=//172.16.1.199:8888/${kede.version}

+ 1 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -11,7 +11,7 @@
 <meta name="viewport"
 	content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1,user-scalable=no">
 <meta http-equiv="x-ua-compatible" content="ie=edge">
-<title>科技咨询服务项目管理系统</title>
+<title>系统</title>
 <th:block th:replace="${link}" />
 <body>
 	<th:block th:fragment="nav(mainM,subM)">