|
@@ -4,14 +4,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.jkcredit.invoice.mapper.customer.CustomerCarRecMapper;
|
|
|
-import com.jkcredit.invoice.mapper.customer.CustomerMapper;
|
|
|
-import com.jkcredit.invoice.mapper.customer.CustomerOperMapper;
|
|
|
import com.jkcredit.invoice.mapper.customer.CustomerRecMapper;
|
|
|
-import com.jkcredit.invoice.mapper.user.UserMapper;
|
|
|
import com.jkcredit.invoice.mapper.waybill.NoCarWaybillMapper;
|
|
|
-import com.jkcredit.invoice.model.entity.customer.Customer;
|
|
|
import com.jkcredit.invoice.model.entity.customer.CustomerCarRec;
|
|
|
-import com.jkcredit.invoice.model.entity.customer.CustomerOper;
|
|
|
import com.jkcredit.invoice.model.entity.customer.CustomerRec;
|
|
|
import com.jkcredit.invoice.model.entity.user.User;
|
|
|
import com.jkcredit.invoice.model.entity.waybill.NoCarWayBill;
|
|
@@ -102,7 +97,7 @@ public class NoCarBillWayServiceImpl extends ServiceImpl<NoCarWaybillMapper,NoCa
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public RespR batchHsitoryBillWay(List<NoCarWayBill> noCarWayBills, String customerName) {
|
|
|
+ public RespR batchHsitoryBillWay(List<NoCarWayBill> noCarWayBills, String customerName){
|
|
|
StringBuffer stringBuffer = new StringBuffer();
|
|
|
//保存批次号信息
|
|
|
String batchNumber = customerOperService.saveCustomerOper(customerName,3);
|
|
@@ -140,12 +135,20 @@ public class NoCarBillWayServiceImpl extends ServiceImpl<NoCarWaybillMapper,NoCa
|
|
|
}
|
|
|
|
|
|
//3.kais指令上传
|
|
|
+ NoCarWayBill noCarWayBillClo = null;
|
|
|
+ try{
|
|
|
+ noCarWayBillClo = noCarWayBill.clone();
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ noCarWayBillClo = noCarWayBill;
|
|
|
+ }
|
|
|
+
|
|
|
RespR respR = noCarService.noCarHisWaybillStart(noCarWayBill);
|
|
|
if (respR.getCode() == 1){
|
|
|
stringBuffer.append("#").append(noCarWayBill.getBillNum()).append(":").append(respR.getMsg()).append("#");
|
|
|
}else{
|
|
|
//3.kais指令上传
|
|
|
- respR = noCarService.noCarHisWaybillEnd(noCarWayBill);
|
|
|
+ respR = noCarService.noCarHisWaybillEnd(noCarWayBillClo);
|
|
|
if(respR.getCode() == 1){
|
|
|
stringBuffer.append("#").append(noCarWayBill.getBillNum()).append(":").append(respR.getMsg()).append("#");
|
|
|
}else{
|