小程序根据openid查询供应商信息增加返回内容:信息状态 审核备注

This commit is contained in:
1378012178@qq.com 2026-01-26 15:47:50 +08:00
parent cdaaee5a36
commit baf92d1b81
2 changed files with 10 additions and 0 deletions

View File

@ -232,6 +232,12 @@ public class NuBizSuppliersApplyServiceImpl extends ServiceImpl<NuBizSuppliersAp
if (list.size() > 0) {
SuppliersApplyEntity suppliersApplyEntity = new SuppliersApplyEntity();
BeanUtils.copyProperties(list.get(0), suppliersApplyEntity);
QueryWrapper<NuBizSuppliersOrg> qw = new QueryWrapper<>();
qw.eq("suppliers_id",list.get(0).getId());
qw.eq("iz_history","N");
NuBizSuppliersOrg so = suppliersOrgService.getOne(qw);
suppliersApplyEntity.setSuppliersStatus(so.getStatus());
suppliersApplyEntity.setAuditContent(so.getAuditContent());
return suppliersApplyEntity;
}
return null;

View File

@ -67,4 +67,8 @@ public class SuppliersApplyEntity implements Serializable {
private String openId;
private String applyOrg;
private String suppliersStatus;
/**审核备注*/
private java.lang.String auditContent;
}