@@ -378,7 +378,7 @@ public class SynSupplierApiPlugin implements Serializable {
try {
//判断是否更新与新增,通过不同方法处理,保存操作会变更状态为保存
- if(!isUpdate) {
+ if(isUpdate) {
// SaveServiceHelper.update(new DynamicObject[]{customer});
OperationResult resultSave = SaveServiceHelper.saveOperate(ENTITY_SUPPLIER, new DynamicObject[]{supplier}, OperateOption.create());