|
@@ -38,7 +38,6 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -117,9 +116,6 @@ public class SysController {
|
|
|
@Resource
|
|
|
ConditionService conditionService;
|
|
|
|
|
|
- @Value(value = "${app.version}")
|
|
|
- private String version;
|
|
|
-
|
|
|
|
|
|
* 登录
|
|
|
*
|
|
@@ -427,9 +423,6 @@ public class SysController {
|
|
|
return ResultUtil.ok(userLoginCheckResult, "");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
@ApiOperation(value = "根据机构代码查询机构信息接口")
|
|
|
@RequestMapping(value = "/school/query_by_school_code", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "学校信息", response = EditResult.class)})
|
|
@@ -438,25 +431,8 @@ public class SysController {
|
|
|
if (Objects.nonNull(code) && code.contains("#")) {
|
|
|
code = code.substring(0, code.indexOf("#"));
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- String version2 = SystemConstant.getVersion();
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
- map.put(SystemConstant.VERSION, version);
|
|
|
+ map.put(SystemConstant.VERSION, SystemConstant.VERSION_VALUE);
|
|
|
if (!code.equalsIgnoreCase(SystemConstant.ADMIN_CODE)) {
|
|
|
BasicSchool basicSchool = commonCacheService.schoolCache(code);
|
|
|
Optional.ofNullable(basicSchool).orElseThrow(() -> ExceptionResultEnum.SCHOOL_NO_DATA.exception());
|