|
@@ -166,7 +166,7 @@ public class BizReturnReceiptController extends BaseController
|
|
|
}
|
|
|
} else {
|
|
|
codeValue = previous;
|
|
|
- String codeYear=codeValue.substring(4, 5);//取出当前外协单号年份
|
|
|
+ String codeYear=codeValue.substring(3, 5);//取出当前外协单号年份
|
|
|
//如果年份一致表示是当前年的发出单,如果不一致则表示已经进入了新的一年则重置发出单号
|
|
|
if(codeYear.equals(formattedDate)){
|
|
|
int lastFourDigits = Integer.parseInt(codeValue.substring(5, 10));
|