|  |  |  | 
|---|
|  |  |  | package com.doumee.biz.system.impl; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.biz.system.SystemDictBiz; | 
|---|
|  |  |  | import com.doumee.config.shiro.ShiroSessionManager; | 
|---|
|  |  |  | import com.doumee.core.constants.ResponseStatus; | 
|---|
|  |  |  | import com.doumee.core.exception.BusinessException; | 
|---|
|  |  |  | import com.doumee.dao.system.model.SystemDict; | 
|---|
|  |  |  | import com.doumee.service.system.SystemDictService; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Value; | 
|---|
|  |  |  | import org.springframework.stereotype.Service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.annotation.PostConstruct; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Service | 
|---|
|  |  |  | public class SystemDictBizImpl implements SystemDictBiz { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Value("${cookiename}") | 
|---|
|  |  |  | private String authToken; | 
|---|
|  |  |  | @Autowired | 
|---|
|  |  |  | private SystemDictService systemDictService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | @PostConstruct | 
|---|
|  |  |  | public void initAuthToken( ) { | 
|---|
|  |  |  | ShiroSessionManager.AUTH_TOKEN = authToken; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Integer create(SystemDict systemDict) { | 
|---|
|  |  |  | SystemDict queryDto = new SystemDict(); | 
|---|
|  |  |  | queryDto.setCode(systemDict.getCode()); | 
|---|