Compare commits

..

No commits in common. '5d15242106b15d7e66350833763c454beee95971' and 'a10bb33c5921d83f9d462a325d4abaab6a6ba6cb' have entirely different histories.

  1. 2
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/anncomgrotop/controller/AnnComGroTopController.java
  2. 23
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java
  3. 17
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualcomp/controller/AnnualCompController.java
  4. 4
      jeecgboot-vue3-master/src/views/annualCompPoint/student2/AnnualCompPointList2.vue
  5. 12
      jeecgboot-vue3-master/src/views/system/loginmini/MiniLogin.vue

@ -115,8 +115,6 @@ public class AnnComGroTopController extends JeecgController<AnnComGroTop, IAnnCo
QueryWrapper<Expert> queryWrapperep = QueryGenerator.initQueryWrapper(expert, req.getParameterMap());
queryWrapperep.eq("user_id",sysUser.getId());
List<Expert> listep = expertService.list(queryWrapperep);
ExpGroup expGroup = new ExpGroup();
QueryWrapper<ExpGroup> queryWrappereg = QueryGenerator.initQueryWrapper(expGroup, req.getParameterMap());
queryWrappereg.eq("grouid",listep.get(0).getId());

@ -209,39 +209,25 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
QueryWrapper<Expert> exqueryWrapper = new QueryWrapper<>();
exqueryWrapper.eq("user_id", loginUser.getId());
Expert expert = expertService.getOne(exqueryWrapper);
if(expert==null)
{
return Result.OK(null);
}
//开始获取exp-comp
QueryWrapper<CompExp> coexqueryWrapper = new QueryWrapper<>();
coexqueryWrapper.eq("expid", expert.getId());
List<CompExp> compExpList = compExpService.list(coexqueryWrapper);
List<String> compIdListss = new ArrayList<>();
List<Comp> compList =new ArrayList<>();
if(compExpList.size()>0)
{
for (CompExp compExps : compExpList) {
compIdListss.add(compExps.getCompid());
}
QueryWrapper<Comp> coqueryWrapper = new QueryWrapper<>();
coqueryWrapper.in("id",compIdListss);
compList = compService.list(coqueryWrapper);
}
List<AnnualComp> annualCompList=new ArrayList<>();
if(compList.size()>0)
{
List<Comp> compList = compService.list(coqueryWrapper);
List<String> needlist = new ArrayList<>();
for (Comp comp : compList){
needlist.add(comp.getId());
}
QueryWrapper<AnnualComp> anncoqueryWrapper = new QueryWrapper<>();
anncoqueryWrapper.in("compid",needlist);
annualCompList = annualCompService.list(anncoqueryWrapper);
}
List<AnnualComp> annualCompList = annualCompService.list(anncoqueryWrapper);
List<String> stringList = new ArrayList<>();
if(annualCompList.size()>0)
{
for (AnnualComp annualComp : annualCompList){
stringList.add(annualComp.getId());
}
@ -249,11 +235,8 @@ public class AnnualCompPointController extends JeecgController<AnnualCompPoint,
Page<AnnualCompPoint> page = new Page<AnnualCompPoint>(pageNo, pageSize);
IPage<AnnualCompPoint> pageList = annualCompPointService.page(page, queryWrapper);
return Result.OK(pageList);
}else
{
return Result.OK(null);
}
}
/**

@ -95,10 +95,6 @@ public class AnnualCompController extends JeecgController<AnnualComp, IAnnualCom
QueryWrapper<Expert> exqueryWrapper = new QueryWrapper<>();
exqueryWrapper.eq("user_id", loginUser.getId());
Expert expert = expertService.getOne(exqueryWrapper);
if(expert==null)
{
return Result.OK(null);
}
//开始获取exp-comp
QueryWrapper<CompExp> coexqueryWrapper = new QueryWrapper<>();
coexqueryWrapper.eq("expid", expert.getId());
@ -107,27 +103,16 @@ public class AnnualCompController extends JeecgController<AnnualComp, IAnnualCom
for (CompExp compExps : compExpList) {
compIdListss.add(compExps.getCompid());
}
List<Comp> compList=new ArrayList();
if(compExpList.size()>0)
{
QueryWrapper<Comp> coqueryWrapper = new QueryWrapper<>();
coqueryWrapper.in("id",compIdListss);
compList = compService.list(coqueryWrapper);
}
List<Comp> compList = compService.list(coqueryWrapper);
List<String> needlist = new ArrayList<>();
for (Comp comp : compList){
needlist.add(comp.getId());
}
if(needlist.size()>0)
{
queryWrapper.in("compid",needlist);
IPage<AnnualComp> pageList = annualCompService.page(page, queryWrapper);
return Result.OK(pageList);
}else
{
return Result.OK(null);
}
}
/**

@ -12,8 +12,8 @@
<!--插槽:table标题-->
<template #tableTitle>
<!-- <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增 </a-button>-->
<!-- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出
</a-button>-->
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出
</a-button>
<!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls"> 导入 </j-upload-button>-->
<a-dropdown v-if="selectedRowKeys.length > 0">
<template #overlay>

@ -91,21 +91,21 @@
<a-button :loading="loginLoading" class="aui-link-login aui-flex-box" type="primary" @click="loginHandleClick">
{{ t('sys.login.loginButton') }}</a-button>
</div>
<!-- <div class="aui-flex">
<div class="aui-flex">
<a class="aui-linek-code aui-flex-box" @click="codeHandleClick">{{ t('sys.login.qrSignInFormTitle') }}</a>
</div>-->
</div>
<div class="aui-flex">
<a class="aui-linek-code aui-flex-box" @click="registerHandleClick">{{ t('sys.login.registerButton') }}</a>
</div>
</div>
</div>
<a-form @keyup.enter.native="loginHandleClick">
<!-- <div class="aui-flex aui-third-text">
<div class="aui-flex aui-third-text">
<div class="aui-flex-box aui-third-border">
<span>{{ t('sys.login.otherSignIn') }}</span>
</div>
</div>-->
<!-- <div class="aui-flex" :class="`${prefixCls}-sign-in-way`">
</div>
<div class="aui-flex" :class="`${prefixCls}-sign-in-way`">
<div class="aui-flex-box">
<div class="aui-third-login">
<a title="github" @click="onThirdLogin('github')"><GithubFilled /></a>
@ -126,7 +126,7 @@
<a title="微信" @click="onThirdLogin('wechat_open')"><WechatFilled /></a>
</div>
</div>
</div>-->
</div>
</a-form>
</div>
</div>

Loading…
Cancel
Save