小程序根据openid查询供应商信息增加返回内容:信息状态 审核备注
This commit is contained in:
parent
cdaaee5a36
commit
baf92d1b81
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -67,4 +67,8 @@ public class SuppliersApplyEntity implements Serializable {
|
|||
private String openId;
|
||||
|
||||
private String applyOrg;
|
||||
|
||||
private String suppliersStatus;
|
||||
/**审核备注*/
|
||||
private java.lang.String auditContent;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue