|
|
@@ -73,4 +73,16 @@ public class CostDocumentTemplateFileController extends BaseController<CostDocum
|
|
|
return CommonResult.<List<CostDocumentTemplateFile>>ok().value(costDocumentTemplateFiles);
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ //根据文书id查询和wherename拿dataValue
|
|
|
+ @GetMapping(value="/queryByDocumentIdandWhereValue")
|
|
|
+ @ApiOperation(value = "根据文书id查询和whereValue查询", httpMethod = "GET", notes = "根据文书id查询和whereValue查询")
|
|
|
+ public CommonResult<List<CostDocumentTemplateFile>> queryByDocumentIdandWhereValue(
|
|
|
+ @ApiParam(name="documentId",value="文书id", required = true)@RequestParam() String documentId,
|
|
|
+ @ApiParam(name="whereValue",value="条件值", required = true)@RequestParam() String whereValue
|
|
|
+ ) throws Exception{
|
|
|
+ List<CostDocumentTemplateFile> costDocumentTemplateFiles = costDocumentTemplateFileManager.queryByDocumentId(documentId,whereValue);
|
|
|
+ return CommonResult.<List<CostDocumentTemplateFile>>ok().value(costDocumentTemplateFiles);
|
|
|
+
|
|
|
+ }
|
|
|
}
|