|
|
|
@ -27,17 +27,17 @@ import com.dxhy.order.baseservice.utils.BaseServiceBeanTransitionUtils; |
|
|
|
|
import com.dxhy.order.constant.*; |
|
|
|
|
import com.dxhy.order.consumer.dao.GroupCommodityCodeMapper; |
|
|
|
|
import com.dxhy.order.consumer.dao.GsClientMapper; |
|
|
|
|
import com.dxhy.order.consumer.dao.OrderBatchRequestMapper; |
|
|
|
|
import com.dxhy.order.consumer.dao.OrderProcessInfoMapper; |
|
|
|
|
import com.dxhy.order.consumer.model.OderDetailInfo; |
|
|
|
|
import com.dxhy.order.consumer.model.PageOrderExt; |
|
|
|
|
import com.dxhy.order.consumer.model.page.PageRequestVO; |
|
|
|
|
import com.dxhy.order.consumer.modules.manager.service.InvoiceDataService; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageInvoiceItem; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageKySlReq; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.PageKySlRsp; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.bo.YwlxCountTotalBO; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.vo.OrderInfoVo; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.vo.OrderInfoTotalAmountVO; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.model.vo.OrderInfoVo; |
|
|
|
|
import com.dxhy.order.consumer.modules.order.service.*; |
|
|
|
|
import com.dxhy.order.consumer.modules.validate.service.ValidateOrderInfoService; |
|
|
|
|
import com.dxhy.order.consumer.openapi.service.CommonInterfaceService; |
|
|
|
@ -189,6 +189,9 @@ public class OrderInfoServiceImpl implements OrderInfoService { |
|
|
|
|
@Resource |
|
|
|
|
private OrderMergeService orderMergeService; |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private InvoiceDataService invoiceDataService; |
|
|
|
|
|
|
|
|
|
DecimalFormat format = new DecimalFormat("#.###"); |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@ -1744,11 +1747,18 @@ public class OrderInfoServiceImpl implements OrderInfoService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public int updateBillNumber(String bzdh,String orderInfoId){ |
|
|
|
|
public int updateBillNumber(String bzdh,String orderInfoId,String fpqqlsh,String xhfNsrsbh){ |
|
|
|
|
OrderProcessInfo orderProcessInfo = new OrderProcessInfo(); |
|
|
|
|
orderProcessInfo.setBzdh(bzdh); |
|
|
|
|
orderProcessInfo.setOrderInfoId(orderInfoId); |
|
|
|
|
return orderProcessInfoMapper.updateOrderProcessInfoByFpqqlsh(orderProcessInfo,null); |
|
|
|
|
int i = orderProcessInfoMapper.updateOrderProcessInfoByFpqqlsh(orderProcessInfo, null); |
|
|
|
|
if(i > 0) { |
|
|
|
|
Map map = new HashMap(); |
|
|
|
|
map.put("ddqqlsh",""); |
|
|
|
|
map.put("xhfNsrsbh",""); |
|
|
|
|
invoiceDataService.manualPushInvoice(Arrays.asList(map)); |
|
|
|
|
} |
|
|
|
|
return i; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|