修改任务单任务详情-相似图片列表

pull/1/head
sunchenliang 1 year ago
parent 5b9a213668
commit 92444d64b7

@ -17,6 +17,7 @@ import cn.jyjz.xiaoyao.ocr.service.OcrPictureService;
import cn.jyjz.xiaoyao.ocr.service.OcrTaskchildPictureService; import cn.jyjz.xiaoyao.ocr.service.OcrTaskchildPictureService;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.beust.jcommander.Parameter; import com.beust.jcommander.Parameter;
import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiImplicitParams;
@ -24,7 +25,9 @@ import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -40,7 +43,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
@RestController @RestController
@RequestMapping("/backstage/jifen/ocrtaskchildpicture") @RequestMapping("/backstage/jifen/ocrtaskchildpicture")
public class OcrTaskchildPictureController extends BaseController{ public class OcrTaskchildPictureController extends BaseController {
private Logger log = LoggerFactory.getLogger(this.getClass()); private Logger log = LoggerFactory.getLogger(this.getClass());
@ -52,84 +55,86 @@ public class OcrTaskchildPictureController extends BaseController{
private UserTokenService userTokenService; private UserTokenService userTokenService;
@Resource @Resource
private UserService userService; private UserService userService;
/** /**
*jsondto * jsondto
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@GetMapping("/list") @GetMapping("/list")
public ResultVo<IPage<OcrTaskchildPicture>> listOcrTaskchildPicture(ParamterPage paramterPage, HttpServletRequest request, HttpServletResponse response) throws IOException{ public ResultVo<IPage<OcrTaskchildPicture>> listOcrTaskchildPicture(ParamterPage paramterPage, HttpServletRequest request, HttpServletResponse response) throws IOException {
SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_"); SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_");
OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture(); OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture();
QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery,ocrtaskchildpicture); QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery, ocrtaskchildpicture);
IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage,queryWrapper);; IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage, queryWrapper);
;
return ResultVoUtil.success(page); return ResultVoUtil.success(page);
} }
/** /**
*jsondto * jsondto
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@ApiOperation(value="ocr_任务包下的任务集合", notes="ocr_任务包下的任务集合") @ApiOperation(value = "ocr_任务包下的任务集合", notes = "ocr_任务包下的任务集合")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "header", name = "X-Tenant-Id", value = "租户主键,用户登录时的信息“tenantList”中获得。", dataType = "String", required = true), @ApiImplicitParam(paramType = "header", name = "X-Tenant-Id", value = "租户主键,用户登录时的信息“tenantList”中获得。", dataType = "String", required = true),
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键", required = true) @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键", required = true)
}) })
@GetMapping("/listbypackageid/{packageid}") @GetMapping("/listbypackageid/{packageid}")
public ResultVo<IPage<OcrTaskchildPicture>> listbypackageid(ParamterPage paramterPage, public ResultVo<IPage<OcrTaskchildPicture>> listbypackageid(ParamterPage paramterPage,
HttpServletRequest request, HttpServletRequest request,
HttpServletResponse response, HttpServletResponse response,
@PathVariable("packageid") String packageid) throws IOException{ @PathVariable("packageid") String packageid) throws IOException {
//租户主键,由前端页面传送 //租户主键,由前端页面传送
String tenantId = request.getHeader("X-Tenant-Id"); String tenantId = request.getHeader("X-Tenant-Id");
if(StringUtils.isBlank(tenantId)){ if (StringUtils.isBlank(tenantId)) {
return ResultVoUtil.error("租户主键不能为空"); return ResultVoUtil.error("租户主键不能为空");
} }
SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_"); SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_");
OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture(); OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture();
QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery,ocrtaskchildpicture); QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery, ocrtaskchildpicture);
queryWrapper.eq("TENANTID",tenantId); queryWrapper.eq("TENANTID", tenantId);
if(StringUtils.isNotBlank(packageid)){ if (StringUtils.isNotBlank(packageid)) {
queryWrapper.eq("PACKAGEID",packageid); queryWrapper.eq("PACKAGEID", packageid);
} }
IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage,queryWrapper); IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage, queryWrapper);
QueryWrapper<OcrTaskchildPicture> queryWrapperNex = SearchQueryFormat.queryStringFormat(searchQuery,ocrtaskchildpicture); QueryWrapper<OcrTaskchildPicture> queryWrapperNex = SearchQueryFormat.queryStringFormat(searchQuery, ocrtaskchildpicture);
if(!page.getRecords().isEmpty()){ if (!page.getRecords().isEmpty()) {
OcrTaskchildPicture ocrTaskchildPicture = page.getRecords().get(0); OcrTaskchildPicture ocrTaskchildPicture = page.getRecords().get(0);
queryWrapperNex.eq("TENANTID",tenantId); queryWrapperNex.eq("TENANTID", tenantId);
queryWrapperNex.in("PICTUREID",ocrTaskchildPicture.getOcpictureid().split(",")); queryWrapperNex.in("PICTUREID", ocrTaskchildPicture.getOcpictureid().split(","));
page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage,queryWrapperNex); page = this.ocrTaskchildPictureService.selectSearchListPage(paramterPage, queryWrapperNex);
} }
return ResultVoUtil.success(page); return ResultVoUtil.success(page);
} }
@ApiOperation(value="ocr_任务包下的当前图片比对的集合列表", notes="ocr_任务包下的当前图片比对的集合列表") @ApiOperation(value = "ocr_任务包下的当前图片比对的集合列表", notes = "ocr_任务包下的当前图片比对的集合列表")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "header", name = "X-Tenant-Id", value = "租户主键,用户登录时的信息“tenantList”中获得。", dataType = "String", required = true), @ApiImplicitParam(paramType = "header", name = "X-Tenant-Id", value = "租户主键,用户登录时的信息“tenantList”中获得。", dataType = "String", required = true),
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键"), @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键"),
@ApiImplicitParam(paramType = "path",name = "taskchildpictureid", value = "当前选中的任务主键", required = true) @ApiImplicitParam(paramType = "path", name = "taskchildpictureid", value = "当前选中的任务主键", required = true)
}) })
@GetMapping("/listbypictureid/{packageid}/{taskchildpictureid}") @GetMapping("/listbypictureid/{packageid}/{taskchildpictureid}")
public ResultVo<IPage<OcrTaskchildPicture>> listbypackageidlistbypictureid(ParamterPage paramterPage, public ResultVo<IPage<OcrTaskchildPicture>> listbypackageidlistbypictureid(ParamterPage paramterPage,
HttpServletRequest request, HttpServletRequest request,
HttpServletResponse response, HttpServletResponse response,
@PathVariable("packageid") String packageid, @PathVariable("packageid") String packageid,
@PathVariable("taskchildpictureid") String taskchildpictureid) throws IOException{ @PathVariable("taskchildpictureid") String taskchildpictureid) throws IOException {
//租户主键,由前端页面传送 //租户主键,由前端页面传送
String tenantId = request.getHeader("X-Tenant-Id"); String tenantId = request.getHeader("X-Tenant-Id");
if(StringUtils.isBlank(tenantId)){ if (StringUtils.isBlank(tenantId)) {
return ResultVoUtil.error("租户主键不能为空"); return ResultVoUtil.error("租户主键不能为空");
} }
@ -141,15 +146,23 @@ public class OcrTaskchildPictureController extends BaseController{
SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_"); SearchQuery searchQuery = this.getParametersStartingWithToSearchJson(request, "search_");
OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture(); OcrTaskchildPicture ocrtaskchildpicture = new OcrTaskchildPicture();
QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery,ocrtaskchildpicture); QueryWrapper<OcrTaskchildPicture> queryWrapper = SearchQueryFormat.queryStringFormat(searchQuery, ocrtaskchildpicture);
//queryWrapper.eq("TENANTID",tenantId); //queryWrapper.eq("TENANTID",tenantId);
//queryWrapper.eq("PACKAGEID",packageid); //queryWrapper.eq("PACKAGEID",packageid);
IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.listByPackageId(taskchildpictureid,paramterPage,queryWrapper,orderbyname,orderbyvalue, packageid,tenantId); IPage<OcrTaskchildPicture> page = this.ocrTaskchildPictureService.listByPackageId(taskchildpictureid, paramterPage, queryWrapper, orderbyname, orderbyvalue, packageid, tenantId);
List collect = page.getRecords().stream().map(p -> JSON.parseObject(JSON.toJSONString(p), Map.class)).collect(Collectors.toList()); List<JSONObject> collect = page.getRecords().stream().map(p -> {
page.setRecords(collect); JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(p));
return ResultVoUtil.success(page); jsonObject.put("id", jsonObject.getOrDefault("id", null).toString());
jsonObject.put("tenantid", jsonObject.getOrDefault("tenantid", null).toString());
jsonObject.put("packageid", jsonObject.getOrDefault("packageid", null).toString());
return jsonObject;
}).collect(Collectors.toList());
IPage<JSONObject> objects = new Page<>();
BeanUtils.copyProperties(page, objects);
objects.setRecords(collect);
return ResultVoUtil.success(objects);
} }
/** /**
@ -158,20 +171,20 @@ public class OcrTaskchildPictureController extends BaseController{
* @param req * @param req
* @return * @return
*/ */
@ApiOperation(value="任务主图真假标记", notes="任务主图真假标记") @ApiOperation(value = "任务主图真假标记", notes = "任务主图真假标记")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "path",name = "taskchildpictureid", value = "任务主键", required = true), @ApiImplicitParam(paramType = "path", name = "taskchildpictureid", value = "任务主键", required = true),
@ApiImplicitParam(paramType = "path",name = "izTrueorfalse", value = "主图片真假0:假1真", required = true), @ApiImplicitParam(paramType = "path", name = "izTrueorfalse", value = "主图片真假0:假1真", required = true),
@ApiImplicitParam(paramType = "path",name = "judgeid", value = "主图判真假原因id,从字典表中获得", required = true), @ApiImplicitParam(paramType = "path", name = "judgeid", value = "主图判真假原因id,从字典表中获得", required = true),
@ApiImplicitParam(paramType = "path",name = "judgedesc", value = "真假其他原因", required = false), @ApiImplicitParam(paramType = "path", name = "judgedesc", value = "真假其他原因", required = false),
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键", required = true) @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键", required = true)
}) })
@PostMapping(value = "/ordertrueorfalse") @PostMapping(value = "/ordertrueorfalse")
public ResultVo ordertrueorfalse(@RequestParam(name="taskchildpictureids",required=true) String taskchildpictureids, public ResultVo ordertrueorfalse(@RequestParam(name = "taskchildpictureids", required = true) String taskchildpictureids,
@RequestParam(name="iztrueorfalse",required=true) String iztrueorfalse, @RequestParam(name = "iztrueorfalse", required = true) String iztrueorfalse,
@RequestParam(name="judgeid",required=true) String judgeid, @RequestParam(name = "judgeid", required = true) String judgeid,
@RequestParam(name="judgedesc",required=false) String judgedesc, @RequestParam(name = "judgedesc", required = false) String judgedesc,
@RequestParam(name="packageid",required=true) String packageid, @RequestParam(name = "packageid", required = true) String packageid,
HttpServletRequest req) { HttpServletRequest req) {
//如果是历史图片,不允许进行设置 //如果是历史图片,不允许进行设置
//如果是已经审批完成的图片不允许是指 //如果是已经审批完成的图片不允许是指
@ -180,7 +193,7 @@ public class OcrTaskchildPictureController extends BaseController{
ocrTaskchildPicture.setPackageid(Long.parseLong(packageid)); ocrTaskchildPicture.setPackageid(Long.parseLong(packageid));
return ocrTaskchildPictureService.trueorfalse(taskchildpictureids,packageid,iztrueorfalse,judgeid,judgedesc); return ocrTaskchildPictureService.trueorfalse(taskchildpictureids, packageid, iztrueorfalse, judgeid, judgedesc);
} }
/** /**
@ -207,25 +220,23 @@ public class OcrTaskchildPictureController extends BaseController{
// //
// return ocrTaskchildPictureService.clearmark(taskchildpictureid,packageid); // return ocrTaskchildPictureService.clearmark(taskchildpictureid,packageid);
// } // }
@ApiOperation(value = "任务清除标记", notes = "任务清除标记")
@ApiOperation(value="任务清除标记", notes="任务清除标记")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "path",name = "taskchildpictureid", value = "任务主键", required = true), @ApiImplicitParam(paramType = "path", name = "taskchildpictureid", value = "任务主键", required = true),
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键", required = true) @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键", required = true)
}) })
@PostMapping(value = "/clearmark") @PostMapping(value = "/clearmark")
public ResultVo clearmark(@RequestParam(name="taskchildpictureid",required=true) String taskchildpictureid, public ResultVo clearmark(@RequestParam(name = "taskchildpictureid", required = true) String taskchildpictureid,
@RequestParam(name="packageid",required=true) String packageid, @RequestParam(name = "packageid", required = true) String packageid,
HttpServletRequest request) { HttpServletRequest request) {
//租户主键,由前端页面传送 //租户主键,由前端页面传送
String tenantId = request.getHeader("X-Tenant-Id"); String tenantId = request.getHeader("X-Tenant-Id");
if(StringUtils.isBlank(tenantId)){ if (StringUtils.isBlank(tenantId)) {
return ResultVoUtil.error("租户主键不能为空"); return ResultVoUtil.error("租户主键不能为空");
} }
return ocrTaskchildPictureService.clearmark(tenantId,taskchildpictureid,packageid); return ocrTaskchildPictureService.clearmark(tenantId, taskchildpictureid, packageid);
} }
/** /**
@ -234,12 +245,12 @@ public class OcrTaskchildPictureController extends BaseController{
* @param req * @param req
* @return * @return
*/ */
@ApiOperation(value="当前任务包智能识别", notes="当前任务包智能识别") @ApiOperation(value = "当前任务包智能识别", notes = "当前任务包智能识别")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键", required = true) @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键", required = true)
}) })
@PostMapping(value = "/markpoint") @PostMapping(value = "/markpoint")
public ResultVo markpoint(@RequestParam(name="packageid",required=true) String packageid, public ResultVo markpoint(@RequestParam(name = "packageid", required = true) String packageid,
HttpServletRequest req) { HttpServletRequest req) {
//如果是历史图片,不允许进行设置 //如果是历史图片,不允许进行设置
//如果是已经审批完成的图片不允许是指 //如果是已经审批完成的图片不允许是指
@ -249,42 +260,42 @@ public class OcrTaskchildPictureController extends BaseController{
ocrTaskchildPicture.setPackageid(Long.parseLong(packageid)); ocrTaskchildPicture.setPackageid(Long.parseLong(packageid));
List<OcrTaskchildPicture> list = ocrTaskchildPictureService.markpoint(packageid); List<OcrTaskchildPicture> list = ocrTaskchildPictureService.markpoint(packageid);
if(null != list && !list.isEmpty()){ if (null != list && !list.isEmpty()) {
return ResultVoUtil.success(list); return ResultVoUtil.success(list);
} }
return ResultVoUtil.error(); return ResultVoUtil.error();
} }
/** /**
* *
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@ApiOperation(value="ocr_任务包下的当前展示的任务对象", notes="ocr_任务包下的当前展示的任务对象") @ApiOperation(value = "ocr_任务包下的当前展示的任务对象", notes = "ocr_任务包下的当前展示的任务对象")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "path",name = "id", value = "当前选中的任务主键", required = true), @ApiImplicitParam(paramType = "path", name = "id", value = "当前选中的任务主键", required = true),
@ApiImplicitParam(paramType = "path",name = "packageid", value = "任务包主键注意不是当前任务关联的packageid而是当前选中的任务包主键") @ApiImplicitParam(paramType = "path", name = "packageid", value = "任务包主键注意不是当前任务关联的packageid而是当前选中的任务包主键")
}) })
@GetMapping("/getdata/{id}/{packageid}") @GetMapping("/getdata/{id}/{packageid}")
@ResponseBody @ResponseBody
public ResultVo getdateOcrTaskchildPicture(HttpServletResponse response,HttpServletRequest request, public ResultVo getdateOcrTaskchildPicture(HttpServletResponse response, HttpServletRequest request,
@PathVariable("packageid") Long packageid, @PathVariable("packageid") Long packageid,
@PathVariable("id") Long id) throws IOException{ @PathVariable("id") Long id) throws IOException {
OcrTaskchildPicture dto = this.ocrTaskchildPictureService.listPicturePackageId(id.toString(),packageid); OcrTaskchildPicture dto = this.ocrTaskchildPictureService.listPicturePackageId(id.toString(), packageid);
if(null != dto){ if (null != dto) {
return ResultVoUtil.success(dto); return ResultVoUtil.success(dto);
}else{ } else {
return ResultVoUtil.error(); return ResultVoUtil.error();
} }
} }
/** /**
* *
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@PostMapping("/save") @PostMapping("/save")
public ResultVo saveOcrTaskchildPicture(HttpServletResponse response,HttpServletRequest request,OcrTaskchildPicture tab) throws IOException{ public ResultVo saveOcrTaskchildPicture(HttpServletResponse response, HttpServletRequest request, OcrTaskchildPicture tab) throws IOException {
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request)); UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
this.ocrTaskchildPictureService.save(tab); this.ocrTaskchildPictureService.save(tab);
@ -292,12 +303,12 @@ public class OcrTaskchildPictureController extends BaseController{
} }
/** /**
*form * form
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@PostMapping("/edit") @PostMapping("/edit")
public ResultVo editOcrTaskchildPicture(HttpServletResponse response,HttpServletRequest request,OcrTaskchildPicture tab) throws IOException{ public ResultVo editOcrTaskchildPicture(HttpServletResponse response, HttpServletRequest request, OcrTaskchildPicture tab) throws IOException {
UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request)); UserToken userToken = this.userTokenService.getUserToken(RequestBaseUtil.getToken(request));
this.ocrTaskchildPictureService.updateById(tab); this.ocrTaskchildPictureService.updateById(tab);
return ResultVoUtil.success(); return ResultVoUtil.success();
@ -305,34 +316,34 @@ public class OcrTaskchildPictureController extends BaseController{
/** /**
* *
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@ApiOperation(value="根据任务或者工单主键查询图片对象", notes="根据任务或者工单主键查询图片对象") @ApiOperation(value = "根据任务或者工单主键查询图片对象", notes = "根据任务或者工单主键查询图片对象")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "path",name = "id", value = "任务审批中的formid或者id", required = true) @ApiImplicitParam(paramType = "path", name = "id", value = "任务审批中的formid或者id", required = true)
}) })
@GetMapping("/pictureinfo") @GetMapping("/pictureinfo")
@ResponseBody @ResponseBody
public ResultVo pictureinfo(HttpServletResponse response,HttpServletRequest request) throws IOException{ public ResultVo pictureinfo(HttpServletResponse response, HttpServletRequest request) throws IOException {
String id = request.getParameter("id"); String id = request.getParameter("id");
OcrPicture dto = this.ocrTaskchildPictureService.findOcrPictureByTaskchildid(id); OcrPicture dto = this.ocrTaskchildPictureService.findOcrPictureByTaskchildid(id);
if(null != dto){ if (null != dto) {
return ResultVoUtil.success(dto); return ResultVoUtil.success(dto);
}else{ } else {
return ResultVoUtil.error(); return ResultVoUtil.error();
} }
} }
/** /**
*id1,2,3 * id1,2,3
*mail.zhangyong@gmail.com * mail.zhangyong@gmail.com
*2024-01-14 10:27:01 * 2024-01-14 10:27:01
**/ **/
@GetMapping("/delmore") @GetMapping("/delmore")
@ResponseBody @ResponseBody
public ResultVo delMoreOcrTaskchildPicture(HttpServletResponse response,HttpServletRequest request) throws IOException{ public ResultVo delMoreOcrTaskchildPicture(HttpServletResponse response, HttpServletRequest request) throws IOException {
String ids = request.getParameter("id"); String ids = request.getParameter("id");
this.ocrTaskchildPictureService.deleteByIdMore(ids); this.ocrTaskchildPictureService.deleteByIdMore(ids);
return ResultVoUtil.success(); return ResultVoUtil.success();

Loading…
Cancel
Save