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. 55
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/annualCompPoint/controller/AnnualCompPointController.java
  3. 27
      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()); QueryWrapper<Expert> queryWrapperep = QueryGenerator.initQueryWrapper(expert, req.getParameterMap());
queryWrapperep.eq("user_id",sysUser.getId()); queryWrapperep.eq("user_id",sysUser.getId());
List<Expert> listep = expertService.list(queryWrapperep); List<Expert> listep = expertService.list(queryWrapperep);
ExpGroup expGroup = new ExpGroup(); ExpGroup expGroup = new ExpGroup();
QueryWrapper<ExpGroup> queryWrappereg = QueryGenerator.initQueryWrapper(expGroup, req.getParameterMap()); QueryWrapper<ExpGroup> queryWrappereg = QueryGenerator.initQueryWrapper(expGroup, req.getParameterMap());
queryWrappereg.eq("grouid",listep.get(0).getId()); queryWrappereg.eq("grouid",listep.get(0).getId());

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

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

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

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

Loading…
Cancel
Save