Commit 05d02c8e by kangxiaoshan

大后台

parent c32d0167
...@@ -213,8 +213,14 @@ public class ContractServiceImpl implements ContractService { ...@@ -213,8 +213,14 @@ public class ContractServiceImpl implements ContractService {
int codeInt = 0; int codeInt = 0;
if(!StringUtils.isEmpty(codeName)){ if (!StringUtils.isEmpty(codeName)) {
codeInt = Integer.parseInt(codeName.split("-")[3]);
String[] codeformat = codeName.split("-");
if (codeformat.length == 4) {
codeInt = Integer.parseInt(codeformat[3]);
}
} }
String lastCode; String lastCode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment