Browse Source

优化

master
dimengzhe 2 years ago
parent
commit
6d3b1db20e
  1. 3
      anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysflowableconfig/SysFlowableConfigService.java

3
anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/sysflowableconfig/SysFlowableConfigService.java

@ -32,6 +32,9 @@ public class SysFlowableConfigService extends MybatisBaseService<SysFlowableConf
ResultBean<SysFlowableConfigVo> rb = ResultBean.fireFail();
SysFlowableConfigVo sysFlowableConfigVo = baseMapper.initDetails(userSid);
if(sysFlowableConfigVo != null){
if(StringUtils.isBlank(sysFlowableConfigVo.getStartDate())){
sysFlowableConfigVo.setStartDate(DateUtil.format(new Date(),"yyyy-MM-dd HH:mm"));
}
sysFlowableConfigVo.setStartDateLong(System.currentTimeMillis());
}else{
sysFlowableConfigVo = new SysFlowableConfigVo();

Loading…
Cancel
Save