|
@@ -3452,7 +3452,7 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
mzVisitTableMapper.insertMzVisitTable(newMzVisitTable);
|
|
|
}
|
|
|
List<MzChargeDetail> newMzChargeDetailList = new ArrayList<>();
|
|
|
- Integer itemNo = null;
|
|
|
+ Integer itemNo = 0;
|
|
|
List<String> billItemCodeList = Arrays.asList(Constants.SSWRF);
|
|
|
Set<String> tcNos = new HashSet<>();
|
|
|
int receiptNo = 1;
|
|
@@ -3516,7 +3516,7 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
temp.setPrintFlagYj(null);
|
|
|
temp.setConfirmFlagQx(null);
|
|
|
newMzChargeDetailList.add(temp);
|
|
|
- if(itemNo==null || itemNo<temp.getItemNo()){
|
|
|
+ if(itemNo==0 || itemNo<temp.getItemNo()){
|
|
|
itemNo=temp.getItemNo();
|
|
|
}
|
|
|
}
|