| | |
| | | import com.java110.common.constant.ServiceCodeVisitConstant; |
| | | |
| | | |
| | | |
| | | |
| | | import com.java110.core.annotation.Java110Listener; |
| | | |
| | | /** |
| | | * 保存小区侦听 |
| | | * add by wuxw 2019-06-30 |
| | |
| | | protected void validate(ServiceDataFlowEvent event, JSONObject reqJson) { |
| | | //Assert.hasKeyAndValue(reqJson, "xxx", "xxx"); |
| | | |
| | | Assert.hasKeyAndValue(reqJson, "name", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(reqJson, "visitGender", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(reqJson, "phoneNumber", "必填,请填写访客联系方式"); |
| | | Assert.hasKeyAndValue(reqJson, "visitTime", "必填,请填写访客拜访时间"); |
| | | Assert.hasKeyAndValue(reqJson, "vName", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(reqJson, "visitGender", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(reqJson, "phoneNumber", "必填,请填写访客联系方式"); |
| | | Assert.hasKeyAndValue(reqJson, "visitTime", "必填,请填写访客拜访时间"); |
| | | |
| | | } |
| | | |
| | |
| | | //super.validatePageInfo(pd); |
| | | |
| | | //Assert.hasKeyAndValue(paramIn, "xxx", "xxx"); |
| | | Assert.hasKeyAndValue(paramIn, "name", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(paramIn, "vName", "必填,请填写访客姓名"); |
| | | Assert.hasKeyAndValue(paramIn, "communityId", "必填,请填写小区ID"); |
| | | Assert.hasKeyAndValue(paramIn, "ownerId", "必填,请填写目标业主ID"); |
| | | Assert.hasKeyAndValue(paramIn, "phoneNumber", "必填,请填写访客联系方式"); |