修改创建主题学期计划bug
This commit is contained in:
parent
60209b9b88
commit
34cd4a12ba
@ -33,8 +33,8 @@ module.exports = {
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `http://localhost:8083`,
|
||||
target: `http://120.53.14.147:9990/`,
|
||||
target: `http://localhost:8083`,
|
||||
// target: `http://120.53.14.147:9990/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
|
@ -112,9 +112,11 @@ public class ByThemeTermplanController extends BaseController {
|
||||
List<ByThemeTermplan> list = null;
|
||||
xnxqNew = byThemeTermplan.getXnxq();
|
||||
mybyThemeTermplan.setXnxq(xnxqNew);
|
||||
mybyThemeTermplan.setClassid(classId);
|
||||
mybyThemeTermplan.setStartmonth(null);
|
||||
mybyThemeTermplan.setEndmonth(null);
|
||||
list = byThemeTermplanService.selectByThemeTermplanList(mybyThemeTermplan);
|
||||
System.out.println(list + "学期列表");
|
||||
// 判断是否存在当前学期计划
|
||||
if (list != null && list.size() > 0) {
|
||||
return AjaxResult.error("当前学年学期计划已经存在,无法创建学期计划");
|
||||
|
Loading…
x
Reference in New Issue
Block a user