|
|
@@ -280,9 +280,10 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
|
|
|
|
|
|
private String iterationNo(String sno ,Object mp, int ty, int no) {
|
|
|
if (tOrderNewMapper.checkContractNo(sno)>0) {
|
|
|
- int i=Integer.parseInt(sno.substring(sno.indexOf("-")+4, sno.length()-4));
|
|
|
+ int i=Integer.parseInt(sno.substring(sno.indexOf("-")+5, sno.length()));
|
|
|
sno=countNo(mp, sno, ty, i);
|
|
|
iterationNo(sno,mp,ty,i);
|
|
|
+
|
|
|
}
|
|
|
return sno;
|
|
|
}
|