|
@ -172,15 +172,15 @@ public class SignEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = "servicePackageByTopicItem")
|
|
|
@GetMapping(value = "servicePackageByTopicType")
|
|
|
@ApiOperation(value = "根据服务专题获取服务项目")
|
|
|
public ObjEnvelop servicePackageByTopicItem (
|
|
|
public ObjEnvelop servicePackageByTopicType (
|
|
|
@ApiParam(name = "patient", value = "patient", required = true)
|
|
|
@RequestParam(value = "patient") String patient,
|
|
|
@ApiParam(name = "topicItem", value = "专题code,security安防相关专题", required = true)
|
|
|
@RequestParam(value = "topicItem") String topicItem) throws Exception {
|
|
|
@ApiParam(name = "topicType", value = "专题类型,security安防相关专题", required = true)
|
|
|
@RequestParam(value = "topicType") String topicType) throws Exception {
|
|
|
try{
|
|
|
return ObjEnvelop.getSuccess("查询成功",servicePackageService.servicePackageByTopicItem(patient,topicItem));
|
|
|
return ObjEnvelop.getSuccess("查询成功",servicePackageService.servicePackageByTopicType(patient,topicType));
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return ObjEnvelop.getError("查询失败");
|