|
|
|
@ -79,6 +79,9 @@ public class WhiteController extends CoreBaseController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private ISysOrderNoRuleService sysOrderNoRuleService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private ISysOrganizeService sysOrganizeService;
|
|
|
|
|
|
|
|
|
|
@Resource(name="redisRes")
|
|
|
|
|
private ImppRedis redisRes;
|
|
|
|
|
|
|
|
|
@ -357,4 +360,17 @@ public class WhiteController extends CoreBaseController {
|
|
|
|
|
CommonEnumUtil.LOG_LOGIN_PLATFORM platform = CommonEnumUtil.LOG_LOGIN_PLATFORM.valueOf(Integer.parseInt(value));
|
|
|
|
|
return platform == null ? CommonEnumUtil.LOG_LOGIN_PLATFORM.PC_IMPP_CORE : platform;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/sys-organize/list")
|
|
|
|
|
@ApiOperation(value = "获取全部组织", notes = "获取全部组织")
|
|
|
|
|
public ResultBean<SysOrganize> findSysOrganizeList(){
|
|
|
|
|
try {
|
|
|
|
|
List<SysOrganize> sysOrganizeList = sysOrganizeService.findSysOrganizeList();
|
|
|
|
|
return ResultBean.success("操作成功").setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()).setResultList(sysOrganizeList);
|
|
|
|
|
}catch(ImppBusiException busExcep){
|
|
|
|
|
return ResultBean.fail(busExcep);
|
|
|
|
|
}catch(Exception e){
|
|
|
|
|
return ImppExceptionBuilder.newInstance().buildExceptionResult(e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|