update 企业管理员查询资料网员

This commit is contained in:
lijiarao
2022-08-16 10:57:09 +08:00
parent efbd50b7e2
commit d39ffc5569
@@ -102,9 +102,9 @@ public class PayMemberProjectSubitemController extends JeroController<PayMemberP
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
HttpServletRequest req) {
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
String userId = loginUser.getId();
PayContactsManagement contactsManagement = contactsManagementService.getById(userId);
payMemberProjectSubitem.setCompanyId(contactsManagement.getCompanyId());
//String userId = loginUser.getId();
//PayContactsManagement contactsManagement = contactsManagementService.getById(userId);
payMemberProjectSubitem.setCompanyId(loginUser.getCompanyId());
QueryWrapper<PayMemberProjectSubitem> queryWrapper = QueryGenerator.initQueryWrapper(payMemberProjectSubitem, req.getParameterMap());
if (StringUtils.isNotBlank(payMemberProjectSubitem.getParticularYear())) {
queryWrapper.eq("pmp.particular_year", payMemberProjectSubitem.getParticularYear());