泛微审批状态默认值
This commit is contained in:
parent
65ee1a2a10
commit
ec80603fd6
|
|
@ -1,13 +1,8 @@
|
||||||
package tqq9.lc123.cloud.app.api.plugin;
|
package tqq9.lc123.cloud.app.api.plugin;
|
||||||
|
|
||||||
import kd.bos.bill.AbstractBillPlugIn;
|
import kd.bos.bill.AbstractBillPlugIn;
|
||||||
import kd.bos.dataentity.OperateOption;
|
|
||||||
import kd.bos.dataentity.entity.DynamicObject;
|
|
||||||
import kd.bos.entity.operate.result.OperationResult;
|
|
||||||
import kd.bos.logging.Log;
|
import kd.bos.logging.Log;
|
||||||
import kd.bos.logging.LogFactory;
|
import kd.bos.logging.LogFactory;
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
|
||||||
import kd.bos.servicehelper.operation.OperationServiceHelper;
|
|
||||||
import kd.sdk.plugin.Plugin;
|
import kd.sdk.plugin.Plugin;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
|
|
@ -26,7 +21,7 @@ public class FWDefaultApprovalStatusPlugin extends AbstractBillPlugIn implements
|
||||||
//获取到单据界面的泛微审批状态
|
//获取到单据界面的泛微审批状态
|
||||||
String tqq9_fwstate = (String) this.getModel().getValue("tqq9_fwstate");
|
String tqq9_fwstate = (String) this.getModel().getValue("tqq9_fwstate");
|
||||||
//判断是否为空
|
//判断是否为空
|
||||||
if(StringUtils.isBlank(tqq9_fwstate)){
|
if (StringUtils.isBlank(tqq9_fwstate)) {
|
||||||
//设置默认值
|
//设置默认值
|
||||||
this.getModel().setValue("tqq9_fwstate", "A");
|
this.getModel().setValue("tqq9_fwstate", "A");
|
||||||
logger.info("默认值设置成功");
|
logger.info("默认值设置成功");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue