Compare commits

..

No commits in common. "f57d710de6441e7eaebe3ee6ba7bfe6f4862885d" and "7181e6194cd41a9722e003f7e4e79930587c5040" have entirely different histories.

5 changed files with 2 additions and 15 deletions

View File

@ -134,7 +134,6 @@ public class StorageTransAuditOp extends AbstractOperationServicePlugIn {
} }
} }
dataEntitie.set("yem_whether",true);
} }
} }

View File

@ -39,7 +39,6 @@ public class StorageTransUnAuditOp extends AbstractOperationServicePlugIn implem
backFillCsrCreditLine(dataEntitie); backFillCsrCreditLine(dataEntitie);
giftAmount(dataEntitie); giftAmount(dataEntitie);
giftSpecialAmount(dataEntitie); giftSpecialAmount(dataEntitie);
dataEntitie.set("yem_whether",false);
} }
} }

View File

@ -700,7 +700,7 @@ public class GatheringEcit extends AbstractBillPlugIn implements BeforeF7SelectL
String[] noCheck = new String[]{"save", "delete", "refresh", "close", "modify", "new", "newentrya1", "copyentryrowa", "insertentrya", "deleteentrya1", "batchfillentrya", "newentryb", "insertentryb", "copyentryrowb", "deleteentryb", "batchfillentryb"}; String[] noCheck = new String[]{"save", "delete", "refresh", "close", "modify", "new", "newentrya1", "copyentryrowa", "insertentrya", "deleteentrya1", "batchfillentrya", "newentryb", "insertentryb", "copyentryrowb", "deleteentryb", "batchfillentryb"};
if (dataChanged && !Arrays.asList(noCheck).contains(operateKey) && ("yem_gathering".equals(pageId) || "yem_gathering_cw".equals(pageId))) { if (dataChanged && !Arrays.asList(noCheck).contains(operateKey) && ("yem_gathering".equals(pageId) || "yem_gathering_cw".equals(pageId))) {
// throw new KDBizException("检测到单据内容更新,请保存后再进行操作!"); throw new KDBizException("检测到单据内容更新,请保存后再进行操作!");
} }
if ("claim".equals(operateKey) || "changeclaim".equals(operateKey)) { if ("claim".equals(operateKey) || "changeclaim".equals(operateKey)) {

View File

@ -6,7 +6,6 @@ import kd.bos.dataentity.entity.DynamicObject;
import kd.bos.dataentity.entity.DynamicObjectCollection; import kd.bos.dataentity.entity.DynamicObjectCollection;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn; import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.AddValidatorsEventArgs; import kd.bos.entity.plugin.AddValidatorsEventArgs;
import kd.bos.entity.plugin.PreparePropertysEventArgs;
import kd.bos.entity.plugin.args.AfterOperationArgs; import kd.bos.entity.plugin.args.AfterOperationArgs;
import kd.bos.entity.plugin.args.EndOperationTransactionArgs; import kd.bos.entity.plugin.args.EndOperationTransactionArgs;
import kd.bos.entity.validate.AbstractValidator; import kd.bos.entity.validate.AbstractValidator;
@ -16,8 +15,6 @@ import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.operation.SaveServiceHelper; import kd.bos.servicehelper.operation.SaveServiceHelper;
import org.omg.DynamicAny.DynAnyFactoryOperations; import org.omg.DynamicAny.DynAnyFactoryOperations;
import java.util.List;
/** /**
* @Description: TODO * @Description: TODO
@ -26,14 +23,6 @@ import java.util.List;
*/ */
public class GatheringAuditOp extends AbstractOperationServicePlugIn { public class GatheringAuditOp extends AbstractOperationServicePlugIn {
@Override
public void onPreparePropertys(PreparePropertysEventArgs e) {
super.onPreparePropertys(e);
List<String> fieldKeys = e.getFieldKeys();
fieldKeys.addAll(this.billEntityType.getAllFields().keySet());
}
@Override @Override
public void onAddValidators(AddValidatorsEventArgs e) { public void onAddValidators(AddValidatorsEventArgs e) {
super.onAddValidators(e); super.onAddValidators(e);

View File

@ -31,7 +31,7 @@ public class GatheringAuditValidator extends AbstractValidator {
DynamicObject bill = temp.getDataEntity(); DynamicObject bill = temp.getDataEntity();
// BigDecimal claimamt = Bi gDecimal.ZERO; // BigDecimal claimamt = Bi gDecimal.ZERO;
// BigDecimal salcontractamt = BigDecimal.ZERO; // BigDecimal salcontractamt = BigDecimal.ZERO;
// bill = BusinessDataServiceHelper.loadSingle(bill.getPkValue(), bill.getDynamicObjectType().getName()); bill = BusinessDataServiceHelper.loadSingle(bill.getPkValue(), bill.getDynamicObjectType().getName());
DynamicObject billtype = bill.getDynamicObject("yem_billtype"); DynamicObject billtype = bill.getDynamicObject("yem_billtype");
if (YEM.isNotEmpty(billtype)) { if (YEM.isNotEmpty(billtype)) {