remove channdId

This commit is contained in:
Carl 2021-12-30 18:53:29 +08:00
parent 5be0db736e
commit 0045263a7a

View File

@ -18,7 +18,8 @@ public class MemberAccountService {
private String url = "http://miniapp-test.royalcanin.com.cn:7080/crm/memberAccount/"; private String url = "http://miniapp-test.royalcanin.com.cn:7080/crm/memberAccount/";
public String memberAccountChange(MemberAccountChangeEntity memberAccountChangeEntity) throws Exception{ public String memberAccountChange(MemberAccountChangeEntity memberAccountChangeEntity){
memberAccountChangeEntity.setChannelId(15);
Map<String, String> paramMap = MapRemoveNullUtil.setConditionMap(memberAccountChangeEntity); Map<String, String> paramMap = MapRemoveNullUtil.setConditionMap(memberAccountChangeEntity);
MapRemoveNullUtil.removeNullEntry(paramMap); MapRemoveNullUtil.removeNullEntry(paramMap);
net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(paramMap); net.sf.json.JSONObject jsonObject = net.sf.json.JSONObject.fromObject(paramMap);
@ -26,6 +27,7 @@ public class MemberAccountService {
} }
public String memberAccountHistory(MemberAccountHistoryEntity memberAccountHistoryEntity) throws Exception{ public String memberAccountHistory(MemberAccountHistoryEntity memberAccountHistoryEntity) throws Exception{
memberAccountHistoryEntity.setChannelId(15);
Map<String, String> paramMap = MapRemoveNullUtil.setConditionMap(memberAccountHistoryEntity); Map<String, String> paramMap = MapRemoveNullUtil.setConditionMap(memberAccountHistoryEntity);
paramMap.put("page",StringUtil.toString(memberAccountHistoryEntity.getPage()).equals("0")?null:StringUtil.toString(memberAccountHistoryEntity.getPage())); paramMap.put("page",StringUtil.toString(memberAccountHistoryEntity.getPage()).equals("0")?null:StringUtil.toString(memberAccountHistoryEntity.getPage()));
paramMap.put("row",StringUtil.toString(memberAccountHistoryEntity.getRows()).equals("0")?null:StringUtil.toString(memberAccountHistoryEntity.getRows())); paramMap.put("row",StringUtil.toString(memberAccountHistoryEntity.getRows()).equals("0")?null:StringUtil.toString(memberAccountHistoryEntity.getRows()));