From e3f4bea35df2b237fc2cb91a06747e380bd4996f Mon Sep 17 00:00:00 2001 From: admin <417727563@qq.com> Date: Wed, 10 Jul 2024 17:54:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5---10-01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demo/expert/controller/ExpertController.java | 11 ++++------- .../src/views/system/userZJ/user.data.ts | 4 ++-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java index 5be182a7..d3d0141f 100644 --- a/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java +++ b/jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java @@ -320,16 +320,13 @@ public class ExpertController extends JeecgController { expert.setExpYjfx(expYjfx);//研究方向 expert.setExpCsgz(expCsgz);//从事工作 - expertService.save(expert); + /* expertService.save(expert); CompExp compExp = new CompExp(); compExp.setCompid(compid); compExp.setCompName(compName); compExp.setExpid(expert.getId()); compExp.setStat(stat); - - - - compExpService.save(compExp); + compExpService.save(compExp);*/ result.success("添加成功!"); } catch (Exception e) { log.error(e.getMessage(), e); @@ -391,7 +388,7 @@ public class ExpertController extends JeecgController { expert.setExpCsgz(expCsgz);//从事工作 expertService.updateById(expert); - CompExp compExp = new CompExp(); + /* CompExp compExp = new CompExp(); QueryWrapper queryWrapper1 = QueryGenerator.initQueryWrapper(compExp, req.getParameterMap()); queryWrapper1.eq("expid",expert.getId()); List listce = compExpService.list(queryWrapper1); @@ -400,7 +397,7 @@ public class ExpertController extends JeecgController { compExp.setCompName(compName); compExp.setExpid(expert.getId()); compExp.setStat(stat); - compExpService.updateById(compExp); + compExpService.updateById(compExp);*/ result.success("修改成功!"); } } catch (Exception e) { diff --git a/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts b/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts index bc7c362a..e6e26105 100644 --- a/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts +++ b/jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts @@ -349,7 +349,7 @@ export const formSchema: FormSchema[] = [ component: 'Input', show: false, }, - { + /*{ label: '比赛名称', field: 'compName', component: 'JPopup', @@ -365,7 +365,7 @@ export const formSchema: FormSchema[] = [ multi:true } }, - }, + },*/ { label: '状态', field: 'stat',