|
|
@@ -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);
|