Commit 41ab3486 authored by hongguangwu's avatar hongguangwu

MVP1.7.10-根据户名与户类型,返回户信息

parent e5a5fa15
......@@ -161,4 +161,32 @@ public class FileUploadController {
}
return R.ok(voList);
}
/**
* @param domainId 关联id
* @param type 类型
* @Description: 获取社保服务的附件信息
* @Author: hgw
* @Date: 2025/4/28 14:12
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.util.List < com.yifu.cloud.plus.v1.yifu.salary.vo.SalaryAttaVo>>
**/
@Operation(summary = "获取社保服务的附件信息", description = "获取社保服务的附件信息")
@SysLog("获取社保服务的附件信息")
@GetMapping("/getAttaListByIdAndType")
public R<List<TAttaInfo>> getAttaListByIdAndType(@RequestParam String domainId, @RequestParam String type) {
List<TAttaInfo> attaList = tAttaInfoService.list(Wrappers.<TAttaInfo>query().lambda()
.eq(TAttaInfo::getRelationType, type)
.eq(TAttaInfo::getDomainId, domainId));
if (attaList != null && !attaList.isEmpty()) {
URL url;
for (TAttaInfo a : attaList) {
url = ossUtil.getObjectUrl(null, a.getAttaSrc());
if (url != null) {
a.setAttaUrl(url.toString());
}
}
}
return R.ok(attaList);
}
}
......@@ -514,7 +514,8 @@ public class TDispatchInfoController {
public R<List<ErrorMessage>> addApplyAudit(@RequestBody List<String> idList,
@RequestParam(name = "auditStatus", required = true) String auditStatus,
@RequestParam(name = "auditRemark", required = false) String auditRemark,
@RequestParam(name = "remark", required = false) String remark) {
@RequestParam(name = "remark", required = false) String remark,
@RequestParam(name = "isSingleAudit", required = false) String isSingleAudit) {
YifuUser user = SecurityUtils.getUser();
if (Common.isEmpty(user)){
return R.failed(CommonConstants.USER_FAIL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment