|
@@ -37,7 +37,7 @@ public class QCTestController {
|
|
|
|
|
|
@ApiOperation(value = "质控测试接口,无需token信息", notes = "")
|
|
|
@PostMapping("rec_test")
|
|
|
- public Response<OutputInfo> extract(String caseIds, int length, String cid) {
|
|
|
+ public Response<OutputInfo> extract(String caseIds, int length, String cid, String txtId) {
|
|
|
Response response = new Response();
|
|
|
PropertiesUtil propertiesUtil = new PropertiesUtil("kernel.properties");
|
|
|
|
|
@@ -60,6 +60,9 @@ public class QCTestController {
|
|
|
if (!StringUtils.isNotEmpty(caseIds)) {
|
|
|
sql = sql + " and entry.cases_id in (" + caseIds + ")";
|
|
|
}
|
|
|
+ if (!StringUtils.isNotEmpty(txtId)) {
|
|
|
+ sql = sql + " and qi.id = " + txtId;
|
|
|
+ }
|
|
|
sql = sql + " order by qi.id";
|
|
|
|
|
|
Map<String, String> map = new HashMap<>();
|