|
|
|
@ -11,6 +11,7 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
|
|
import org.jeecg.common.util.AssertUtils;
|
|
|
|
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
|
|
import org.jeecg.modules.ocr.entity.OcrIdentifyDetail;
|
|
|
|
|
import org.jeecg.modules.ocr.service.IOcrIdentifyDetailService;
|
|
|
|
@ -45,7 +46,7 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
|
*/
|
|
|
|
|
@Api(tags="ocr识别结果明细")
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/ocr/ocrIdentifyDetail")
|
|
|
|
|
@RequestMapping("/ocrIdentifyDetail")
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class OcrIdentifyDetailController extends JeecgController<OcrIdentifyDetail, IOcrIdentifyDetailService> {
|
|
|
|
|
@Autowired
|
|
|
|
@ -67,6 +68,7 @@ public class OcrIdentifyDetailController extends JeecgController<OcrIdentifyDeta
|
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
|
|
HttpServletRequest req) {
|
|
|
|
|
AssertUtils.notEmpty(ocrIdentifyDetail.getIdentifyId(),"[identifyId]不可为空-请选择ocr识别信息");
|
|
|
|
|
QueryWrapper<OcrIdentifyDetail> queryWrapper = QueryGenerator.initQueryWrapper(ocrIdentifyDetail, req.getParameterMap());
|
|
|
|
|
Page<OcrIdentifyDetail> page = new Page<OcrIdentifyDetail>(pageNo, pageSize);
|
|
|
|
|
IPage<OcrIdentifyDetail> pageList = ocrIdentifyDetailService.page(page, queryWrapper);
|
|
|
|
|