|
@ -1,6 +1,8 @@ |
|
|
package com.ruoyi.system.service.impl; |
|
|
package com.ruoyi.system.service.impl; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.common.core.redis.RedisCache; |
|
|
import com.ruoyi.common.utils.DateUtils; |
|
|
import com.ruoyi.common.utils.DateUtils; |
|
|
import com.ruoyi.common.utils.ShiroUtils; |
|
|
import com.ruoyi.common.utils.ShiroUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
@ -22,6 +24,9 @@ public class BaseEvectionFormServiceImpl implements IBaseEvectionFormService |
|
|
@Autowired |
|
|
@Autowired |
|
|
private BaseEvectionFormMapper baseEvectionFormMapper; |
|
|
private BaseEvectionFormMapper baseEvectionFormMapper; |
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
|
private RedisCache redisCache; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查询出差单 |
|
|
* 查询出差单 |
|
|
* |
|
|
* |
|
@ -123,4 +128,8 @@ public class BaseEvectionFormServiceImpl implements IBaseEvectionFormService |
|
|
{ |
|
|
{ |
|
|
return baseEvectionFormMapper.restoreBaseEvectionFormById(evectionId); |
|
|
return baseEvectionFormMapper.restoreBaseEvectionFormById(evectionId); |
|
|
} |
|
|
} |
|
|
|
|
|
@Override |
|
|
|
|
|
public Object getId() { |
|
|
|
|
|
return redisCache.getCacheObject("CC"); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|