wuxw
2020-01-14 69e2baf5518079bfc16cfadc2fb29842fb3de85d
WebService/src/main/java/com/java110/web/smo/ownerRepair/impl/AddOwnerRepairSMOImpl.java
@@ -1,17 +1,17 @@
package com.java110.web.smo.ownerRepair.impl;
import com.alibaba.fastjson.JSONObject;
import com.java110.core.client.RestTemplate;
import com.java110.utils.constant.PrivilegeCodeConstant;
import com.java110.utils.constant.ServiceConstant;
import com.java110.utils.util.Assert;
import com.java110.core.context.IPageData;
import com.java110.web.core.AbstractComponentSMO;
import com.java110.core.component.AbstractComponentSMO;
import com.java110.web.smo.ownerRepair.IAddOwnerRepairSMO;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.web.client.RestTemplate;
/**
 * 添加小区服务实现类
@@ -29,6 +29,7 @@
        //super.validatePageInfo(pd);
        //Assert.hasKeyAndValue(paramIn, "xxx", "xxx");
        Assert.hasKeyAndValue(paramIn, "communityId", "请求报文中未包含小区ID");
        Assert.hasKeyAndValue(paramIn, "repairType", "必填,请选择报修类型");
        Assert.hasKeyAndValue(paramIn, "repairName", "必填,请填写报修人名称");
        Assert.hasKeyAndValue(paramIn, "tel", "必填,请填写报修人手机号");