|
@@ -23,32 +23,37 @@ public class Route extends RouteBuilder {
|
|
|
String tmplateContentStr = writer.toString();
|
|
|
msg.getOut().setBody(tmplateContentStr.replace("#replaceMePlease#", docContentStr));
|
|
|
});
|
|
|
-
|
|
|
+ // 查询项目下的资产
|
|
|
rest("/manufacturer/property/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process();
|
|
|
+ // 查询项目下的资产
|
|
|
rest("/supplier/property/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process();
|
|
|
+ // 获取在保资产清单
|
|
|
rest("/insurance/project/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process();
|
|
|
+ // 获取所有保单列表
|
|
|
rest("/insurance/contract/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process();
|
|
|
+ // 根据保单获取资产
|
|
|
rest("/insurance/contract/property/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process();
|
|
|
+ // 查询指定项目内合同有效期内的资产/查询指定项目内历史维护资产
|
|
|
rest("/maintainance/property/query").post()
|
|
|
.consumes(MediaType.APPLICATION_JSON)
|
|
|
.produces(MediaType.APPLICATION_JSON)
|