Commit d07f149d by 徐高华

积分别名

parent bfde03c8
......@@ -1589,6 +1589,7 @@ public class WxStaffController extends WebBaseController {
vo.setEnterpriseImg(enterpriseDTO.getQcloudImageUrl());
list.add(vo);
}
this.integralAlias(list) ;
return RestResponse.successResult(list);
}
// 门店列表
......@@ -1687,9 +1688,24 @@ public class WxStaffController extends WebBaseController {
});
}
}
this.integralAlias(list) ;
return RestResponse.successResult(list);
}
private void integralAlias(List<StaffStoreVO> list) {
if(CollectionUtils.isNotEmpty(list)) {
for(StaffStoreVO vo : list) {
String enterpriseId = vo.getEnterpriseId() ;
String integralText = "淘气值" ;
if(org.apache.commons.lang.StringUtils.isBlank(integralText)) {
integralText = "积分";
}
vo.setIntegralTextAlias(integralText);
}
}
}
/**
* 会员关联数量
*/
......
......@@ -31,6 +31,16 @@ public class StaffStoreVO implements Serializable {
private Boolean enableHaoban;
private String storeCode;
// 积分别名
private String integralTextAlias ;
public String getIntegralTextAlias() {
return integralTextAlias;
}
public void setIntegralTextAlias(String integralTextAlias) {
this.integralTextAlias = integralTextAlias;
}
public Integer getMemberOpenCardFlag() {
return memberOpenCardFlag;
......
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