导入---10-01

main
喻忠伟 5 months ago
parent 7c94ccf662
commit e3f4bea35d
  1. 11
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/controller/ExpertController.java
  2. 4
      jeecgboot-vue3-master/src/views/system/userZJ/user.data.ts

@ -320,16 +320,13 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
expert.setExpYjfx(expYjfx);//研究方向 expert.setExpYjfx(expYjfx);//研究方向
expert.setExpCsgz(expCsgz);//从事工作 expert.setExpCsgz(expCsgz);//从事工作
expertService.save(expert); /* expertService.save(expert);
CompExp compExp = new CompExp(); CompExp compExp = new CompExp();
compExp.setCompid(compid); compExp.setCompid(compid);
compExp.setCompName(compName); compExp.setCompName(compName);
compExp.setExpid(expert.getId()); compExp.setExpid(expert.getId());
compExp.setStat(stat); compExp.setStat(stat);
compExpService.save(compExp);*/
compExpService.save(compExp);
result.success("添加成功!"); result.success("添加成功!");
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
@ -391,7 +388,7 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
expert.setExpCsgz(expCsgz);//从事工作 expert.setExpCsgz(expCsgz);//从事工作
expertService.updateById(expert); expertService.updateById(expert);
CompExp compExp = new CompExp(); /* CompExp compExp = new CompExp();
QueryWrapper<CompExp> queryWrapper1 = QueryGenerator.initQueryWrapper(compExp, req.getParameterMap()); QueryWrapper<CompExp> queryWrapper1 = QueryGenerator.initQueryWrapper(compExp, req.getParameterMap());
queryWrapper1.eq("expid",expert.getId()); queryWrapper1.eq("expid",expert.getId());
List<CompExp> listce = compExpService.list(queryWrapper1); List<CompExp> listce = compExpService.list(queryWrapper1);
@ -400,7 +397,7 @@ public class ExpertController extends JeecgController<Expert, IExpertService> {
compExp.setCompName(compName); compExp.setCompName(compName);
compExp.setExpid(expert.getId()); compExp.setExpid(expert.getId());
compExp.setStat(stat); compExp.setStat(stat);
compExpService.updateById(compExp); compExpService.updateById(compExp);*/
result.success("修改成功!"); result.success("修改成功!");
} }
} catch (Exception e) { } catch (Exception e) {

@ -349,7 +349,7 @@ export const formSchema: FormSchema[] = [
component: 'Input', component: 'Input',
show: false, show: false,
}, },
{ /*{
label: '比赛名称', label: '比赛名称',
field: 'compName', field: 'compName',
component: 'JPopup', component: 'JPopup',
@ -365,7 +365,7 @@ export const formSchema: FormSchema[] = [
multi:true multi:true
} }
}, },
}, },*/
{ {
label: '状态', label: '状态',
field: 'stat', field: 'stat',

Loading…
Cancel
Save