parent
a705646dff
commit
6da26d6e7f
|
|
@ -297,13 +297,10 @@ public class GuaranteeContractFeeDetailPlugin extends AbstractBillPlugIn {
|
||||||
public void propertyChanged(PropertyChangedArgs e) {
|
public void propertyChanged(PropertyChangedArgs e) {
|
||||||
super.propertyChanged(e);
|
super.propertyChanged(e);
|
||||||
String name = e.getProperty().getName();
|
String name = e.getProperty().getName();
|
||||||
if ("".equals(name)){
|
if (Arrays.asList("shkd_jtfeeamt","shkd_ytfeeamt").contains(name)){
|
||||||
String billstatus = (String) this.getModel().getValue("billstatus");
|
String billstatus = (String) this.getModel().getValue("billstatus");
|
||||||
BigDecimal newValue = (BigDecimal) e.getChangeSet()[0].getNewValue();
|
BigDecimal newValue = (BigDecimal) e.getChangeSet()[0].getNewValue();
|
||||||
BigDecimal oldValue = (BigDecimal) e.getChangeSet()[0].getOldValue();
|
BigDecimal oldValue = (BigDecimal) e.getChangeSet()[0].getOldValue();
|
||||||
if (newValue==null||oldValue==null){
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (newValue.compareTo(oldValue)!=0&&Arrays.asList("B","C").contains(billstatus)){
|
if (newValue.compareTo(oldValue)!=0&&Arrays.asList("B","C").contains(billstatus)){
|
||||||
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)});
|
SaveServiceHelper.save(new DynamicObject[]{this.getModel().getDataEntity(true)});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,12 @@ import java.math.BigDecimal;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @FileName GuaranteeContractAuditOpPlugin
|
||||||
|
* @Description 自动下推兑付票据
|
||||||
|
* @Author csx
|
||||||
|
* @date 2025-08-08
|
||||||
|
**/
|
||||||
public class DrafttradebillOP extends AbstractOperationServicePlugIn {
|
public class DrafttradebillOP extends AbstractOperationServicePlugIn {
|
||||||
|
|
||||||
private static final Log logger = LogFactory.getLog(DrafttradebillOP.class);
|
private static final Log logger = LogFactory.getLog(DrafttradebillOP.class);
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,12 @@ import java.time.Duration;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @FileName GuaranteeContractAuditOpPlugin
|
||||||
|
* @Description 锁定校验插件
|
||||||
|
* @Author csx
|
||||||
|
* @date 2025-08-08
|
||||||
|
**/
|
||||||
public class ElectronicPayDealOPPlugin extends AbstractOperationServicePlugIn implements Plugin {
|
public class ElectronicPayDealOPPlugin extends AbstractOperationServicePlugIn implements Plugin {
|
||||||
|
|
||||||
private static final Log logger = LogFactory.getLog(ElectronicPayDealOPPlugin.class);
|
private static final Log logger = LogFactory.getLog(ElectronicPayDealOPPlugin.class);
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,13 @@ import kd.bos.logging.LogFactory;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @FileName GuaranteeContractAuditOpPlugin
|
||||||
|
* @Description 担保合同审核插件
|
||||||
|
* @Author csx
|
||||||
|
* @date 2025-08-08
|
||||||
|
**/
|
||||||
public class GuaranteeContractAuditOpPlugin extends AbstractOperationServicePlugIn {
|
public class GuaranteeContractAuditOpPlugin extends AbstractOperationServicePlugIn {
|
||||||
|
|
||||||
private static final Log logger = LogFactory.getLog(GuaranteeContractAuditOpPlugin.class);
|
private static final Log logger = LogFactory.getLog(GuaranteeContractAuditOpPlugin.class);
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,12 @@ import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @FileName GuaranteeContractUnAuditOpPlugin
|
||||||
|
* @Description 担保合同反审核插件
|
||||||
|
* @Author csx
|
||||||
|
* @date 2025-08-08
|
||||||
|
**/
|
||||||
public class GuaranteeContractUnAuditOpPlugin extends AbstractOperationServicePlugIn {
|
public class GuaranteeContractUnAuditOpPlugin extends AbstractOperationServicePlugIn {
|
||||||
|
|
||||||
private static final Log logger = LogFactory.getLog(GuaranteeContractUnAuditOpPlugin.class);
|
private static final Log logger = LogFactory.getLog(GuaranteeContractUnAuditOpPlugin.class);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue