开票审核、基本信息

This commit is contained in:
baozhipeng
2021-12-20 09:45:12 +08:00
parent 60919225e0
commit 078e91f34d
7 changed files with 228 additions and 2 deletions
@@ -30,6 +30,7 @@ import com.jero.project.entity.PayCommonProject;
import com.jero.project.entity.PayWorkingGroupSubItem;
import com.jero.project.service.IPayCommonProjectService;
import com.jero.project.service.IPayWorkingGroupSubItemService;
import com.jero.standards.memberinfo.service.IMemberInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
@@ -88,6 +89,9 @@ public class PayContactsManagementController extends JeroController<PayContactsM
private IPayMemberProjectSubitemService memberProjectSubitemService;
@Resource
private ITbMemberProjectSubitemService tbMemberProjectSubitemService;
@Resource
private IMemberInfoService memberInfoService;
@Value("${defaultPassword}")
private String defaultPassword;
@@ -976,4 +980,18 @@ public class PayContactsManagementController extends JeroController<PayContactsM
return Result.OK("文件导入成功!");
}
// @RequiresPermissions("contact:search")
@ApiOperation(value="联系人管理-分页列表查询", notes="联系人管理-分页列表查询")
@GetMapping(value = "/baseInfo")
public Result<?> baseInfo() {
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
LambdaQueryWrapper<PayContactsManagement> queryPayContactsManagement = new LambdaQueryWrapper<>();
queryPayContactsManagement.eq(PayContactsManagement::getUsername,sysUser.getUsername());
PayContactsManagement contacts = payContactsManagementService.getOne(queryPayContactsManagement);
Map<String,Object> baseInfo = memberInfoService.baseInfo(contacts);
return Result.OK(baseInfo);
}
}