加入添加物业 修改物业 删除物业 查询物业 接口文档
| | |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.doc.annotation.*; |
| | | import com.java110.dto.CommunityMemberDto; |
| | | import com.java110.intf.community.ICommunityMemberV1InnerServiceSMO; |
| | | import com.java110.intf.store.IStoreV1InnerServiceSMO; |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | |
| | | @Java110CmdDoc(title = "删除物业公司", |
| | | description = "主要提供给外系统删除物业公司", |
| | | httpMethod = "post", |
| | | url = "http://{ip}:{port}/app/property.deleteProperty", |
| | | resource = "storeDoc", |
| | | author = "吴学文", |
| | | serviceCode = "property.deleteProperty" |
| | | ) |
| | | |
| | | @Java110ParamsDoc(params = { |
| | | @Java110ParamDoc(name = "storeId", length = 30, remark = "物业编号"), |
| | | }) |
| | | |
| | | @Java110ResponseDoc( |
| | | params = { |
| | | @Java110ParamDoc(name = "code", type = "int", length = 11, defaultValue = "0", remark = "返回编号,0 成功 其他失败"), |
| | | @Java110ParamDoc(name = "msg", type = "String", length = 250, defaultValue = "成功", remark = "描述"), |
| | | } |
| | | ) |
| | | |
| | | @Java110ExampleDoc( |
| | | reqBody="{\"storeId\":\"102022083062960025\"}", |
| | | resBody="{'code':0,'msg':'成功'}" |
| | | ) |
| | | |
| | | /** |
| | | * 类表述:删除 |
| | | * 服务编码:store.deleteStore |
| | |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.doc.annotation.*; |
| | | import com.java110.dto.store.StoreDto; |
| | | import com.java110.intf.store.IStoreInnerServiceSMO; |
| | | import com.java110.intf.store.IStoreV1InnerServiceSMO; |
| | |
| | | import java.util.List; |
| | | |
| | | |
| | | @Java110CmdDoc(title = "查询物业公司", |
| | | description = "主要提供给外系统查询物业公司", |
| | | httpMethod = "get", |
| | | url = "http://{ip}:{port}/app/property.listProperty", |
| | | resource = "storeDoc", |
| | | author = "吴学文", |
| | | serviceCode = "property.listProperty" |
| | | ) |
| | | |
| | | @Java110ParamsDoc(params = { |
| | | @Java110ParamDoc(name = "storeId", length = 30, remark = "物业编号"), |
| | | @Java110ParamDoc(name = "name", length = 64, remark = "物业名称"), |
| | | @Java110ParamDoc(name = "tel", length = 11, remark = "物业电话"), |
| | | @Java110ParamDoc(name = "page",type="int", length = 11, remark = "页数"), |
| | | @Java110ParamDoc(name = "row",type="int", length = 11, remark = "行数"), |
| | | }) |
| | | |
| | | @Java110ResponseDoc( |
| | | params = { |
| | | @Java110ParamDoc(name = "code", type = "int", length = 11, defaultValue = "0", remark = "返回编号,0 成功 其他失败"), |
| | | @Java110ParamDoc(name = "msg", type = "String", length = 250, defaultValue = "成功", remark = "描述"), |
| | | @Java110ParamDoc(name = "data", type = "Array", length = 0, defaultValue = "成功", remark = "数据节点"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "storeId", length = 30, remark = "物业编号"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "name", length = 64, remark = "物业名称"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "nearbyLandmarks", length = 64, remark = "地标,如xx 公园旁"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "tel", length = 11, remark = "物业管理员电话 作为管理员账号密码 添加后请及时修改密码"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "address", length = 11, remark = "公司地址"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "corporation", length = 11, remark = "法人"), |
| | | @Java110ParamDoc(parentNodeName = "data", name = "foundingTime", length = 11, remark = "成立日期"), |
| | | } |
| | | ) |
| | | |
| | | @Java110ExampleDoc( |
| | | reqBody="http://{ip}:{port}/app/property.listProperty?storeId=&name=&tel=&page=1&row=10", |
| | | resBody="{'code':0,'msg':'成功'}" |
| | | ) |
| | | /** |
| | | * 类表述:查询 |
| | | * 服务编码:store.listStore |
| | |
| | | ) |
| | | |
| | | @Java110ParamsDoc(params = { |
| | | @Java110ParamDoc(name = "name", length = 30, remark = "物业名称"), |
| | | @Java110ParamDoc(name = "name", length = 64, remark = "物业名称"), |
| | | @Java110ParamDoc(name = "nearbyLandmarks", length = 64, remark = "地标,如xx 公园旁"), |
| | | @Java110ParamDoc(name = "tel", length = 11, remark = "物业管理员电话 作为管理员账号密码 添加后请及时修改密码"), |
| | | @Java110ParamDoc(name = "address", length = 11, remark = "公司地址"), |
| | | @Java110ParamDoc(name = "corporation", length = 11, remark = "法人"), |
| | | @Java110ParamDoc(name = "foundingTime", length = 11, remark = "成立日期"), |
| | | @Java110ParamDoc(name = "communityIds", type = "Array" ,length = 0, remark = "分配小区"), |
| | | @Java110ParamDoc(parentNodeName = "communityIds",name = "-", type = "String" ,length = 0, remark = "小区ID"), |
| | | @Java110ParamDoc(name = "groupIds", type = "Array" ,length = 0, remark = "分配菜单组"), |
| | |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.doc.annotation.*; |
| | | import com.java110.dto.store.StoreAttrDto; |
| | | import com.java110.intf.store.IStoreAttrV1InnerServiceSMO; |
| | | import com.java110.intf.store.IStoreV1InnerServiceSMO; |
| | |
| | | import java.util.List; |
| | | |
| | | |
| | | @Java110CmdDoc(title = "修改物业公司", |
| | | description = "主要提供给外系统修改物业公司", |
| | | httpMethod = "post", |
| | | url = "http://{ip}:{port}/app/property.updateProperty", |
| | | resource = "storeDoc", |
| | | author = "吴学文", |
| | | serviceCode = "property.updateProperty" |
| | | ) |
| | | |
| | | @Java110ParamsDoc(params = { |
| | | @Java110ParamDoc(name = "storeId", length = 30, remark = "物业编号"), |
| | | @Java110ParamDoc(name = "name", length = 64, remark = "物业名称"), |
| | | @Java110ParamDoc(name = "nearbyLandmarks", length = 64, remark = "地标,如xx 公园旁"), |
| | | @Java110ParamDoc(name = "tel", length = 11, remark = "物业管理员电话 作为管理员账号密码 添加后请及时修改密码"), |
| | | @Java110ParamDoc(name = "address", length = 11, remark = "公司地址"), |
| | | @Java110ParamDoc(name = "corporation", length = 11, remark = "法人"), |
| | | @Java110ParamDoc(name = "foundingTime", length = 11, remark = "成立日期"), |
| | | }) |
| | | |
| | | @Java110ResponseDoc( |
| | | params = { |
| | | @Java110ParamDoc(name = "code", type = "int", length = 11, defaultValue = "0", remark = "返回编号,0 成功 其他失败"), |
| | | @Java110ParamDoc(name = "msg", type = "String", length = 250, defaultValue = "成功", remark = "描述"), |
| | | } |
| | | ) |
| | | |
| | | @Java110ExampleDoc( |
| | | reqBody="{\"storeId\":\"102022083062960025\",\"name\":\"培训物业公司\",\"address\":\"培训物业公司\",\"tel\":\"18909715555\",\"corporation\":\"无\",\"foundingTime\":\"2022-08-01\",\"nearByLandmarks\":\"123\"}", |
| | | resBody="{'code':0,'msg':'成功'}" |
| | | ) |
| | | /** |
| | | * 类表述:更新 |
| | | * 服务编码:store.updateStore |