|
|
@ -45,6 +45,7 @@ import java.math.BigDecimal; |
|
|
|
import java.nio.charset.StandardCharsets; |
|
|
|
import java.nio.charset.StandardCharsets; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @author jiaohongyang |
|
|
|
* @author jiaohongyang |
|
|
@ -1290,6 +1291,7 @@ public class InterfaceController extends AbstractController { |
|
|
|
es.setBSKEY(erpInvoiceData.getIS_INPUT().getBSKEY()); |
|
|
|
es.setBSKEY(erpInvoiceData.getIS_INPUT().getBSKEY()); |
|
|
|
es.setZTYPE("S"); |
|
|
|
es.setZTYPE("S"); |
|
|
|
es.setZMESSAGE("处理成功"); |
|
|
|
es.setZMESSAGE("处理成功"); |
|
|
|
|
|
|
|
invoices = invoices.stream().filter(e->"0".equals(e.getRzhYesorno())).collect(Collectors.toList()); |
|
|
|
if(CollectionUtils.isEmpty(invoices)){ |
|
|
|
if(CollectionUtils.isEmpty(invoices)){ |
|
|
|
es.setZTYPE("E"); |
|
|
|
es.setZTYPE("E"); |
|
|
|
es.setZMESSAGE("底账数据不存在"); |
|
|
|
es.setZMESSAGE("底账数据不存在"); |
|
|
|