wuxw
2019-08-09 bf47d41dddf76c58a41692e492014499f9d433ae
java110-code-generator/src/main/resources/relationship/binding/BindingSMOImpl.java
@@ -1,6 +1,7 @@
package com.java110.web.smo.@@templateCode@@.impl;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.JSONArray;
import com.java110.common.constant.PrivilegeCodeConstant;
import com.java110.common.constant.ServiceConstant;
import com.java110.common.util.Assert;
@@ -27,7 +28,7 @@
    protected void validate(IPageData pd, JSONObject paramIn) {
        //super.validatePageInfo(pd);
        JSONArray infos = paramIn.getJSONObject("infos")
        JSONArray infos = paramIn.getJSONArray("data");
        //Assert.hasKeyAndValue(paramIn, "xxx", "xxx");
        @@validateTemplateColumns@@
@@ -42,7 +43,7 @@
        super.validateStoreStaffCommunityRelationship(pd, restTemplate);
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/@@templateCode@@.@@templateCode@@",
                ServiceConstant.SERVICE_API_URL + "/api/" + ServiceCode@@TemplateCode@@Constant.BINDING_@@TEMPLATECODE@@,
                HttpMethod.POST);
        return responseEntity;
    }