|
|
|
|
@ -23,6 +23,7 @@ import org.dromara.common.mybatis.core.domain.BaseEntity;
|
|
|
|
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
|
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
|
import org.dromara.workflow.common.ConditionalOnEnable;
|
|
|
|
|
import org.dromara.workflow.common.constant.FlowConstant;
|
|
|
|
|
import org.dromara.workflow.domain.TestLeave;
|
|
|
|
|
import org.dromara.workflow.domain.bo.TestLeaveBo;
|
|
|
|
|
import org.dromara.workflow.domain.vo.TestLeaveVo;
|
|
|
|
|
@ -193,8 +194,8 @@ public class TestLeaveServiceImpl implements ITestLeaveService {
|
|
|
|
|
String message = Convert.toStr(params.get("message"));
|
|
|
|
|
}
|
|
|
|
|
if (processEvent.getSubmit()) {
|
|
|
|
|
if(StringUtils.isBlank(testLeave.getApplyCode())){
|
|
|
|
|
String businessCode = MapUtil.getStr(params, "businessCode",StrUtil.EMPTY);
|
|
|
|
|
if (StringUtils.isBlank(testLeave.getApplyCode())) {
|
|
|
|
|
String businessCode = MapUtil.getStr(params, FlowConstant.BUSINESS_CODE, StrUtil.EMPTY);
|
|
|
|
|
testLeave.setApplyCode(businessCode);
|
|
|
|
|
}
|
|
|
|
|
testLeave.setStatus(BusinessStatusEnum.WAITING.getStatus());
|
|
|
|
|
|