1.只有是否需同步EAS为是时,才会同步EAS;
This commit is contained in:
ljw 2024-11-26 19:42:25 +08:00
parent 53be70e0db
commit c8915a718e

View File

@ -49,6 +49,10 @@ public class YemDelivernoticeService extends AbstractOperationServicePlugIn {
DynamicObject dataEntity = selectedRow.getDataEntity();
dataEntity = BusinessDataServiceHelper.loadSingle(dataEntity.getPkValue(), dataEntity.getDynamicObjectType().getName());
DynamicObject yem_billtype = dataEntity.getDynamicObject("yem_billtype");
String yemSynchronizeeas = dataEntity.getString("yem_synchronizeeas");
if ("B".equals(yemSynchronizeeas)){
continue;
}
if (yem_billtype != null) {
String number = yem_billtype.getString("number");
if (number.equals("yem_es_delivernotice_zj") || number.equals("yem_es_delivernotice_pj")) {