开票审核、基本信息
This commit is contained in:
+18
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user