이준호 전자조저잇스템 커밋

- OCR 수정
This commit is contained in:
leejunho 2023-10-18 12:24:30 +09:00
parent cb51e1ed03
commit b56a404158
5 changed files with 16 additions and 5 deletions

View File

@ -45,6 +45,11 @@ public class TextSenseController {
@Value("#{globalSettings['Globals.textSense.apiUrl']}")
private String textSenseApiUrl;
@Value("#{globalSettings['Globals.textSense.inputUri']}")
private String textSenseinputUri;
@Value("#{globalSettings['Globals.textSense.callbackUri']}")
private String textSensecallbackUri;
@RequestMapping(value="/kccadr/textsence/selectTextSenseList.do")
public String selectTextSenseList(@ModelAttribute("searchVO")TextSenseVO textSenseVO, ModelMap model) throws Exception{
@ -204,9 +209,9 @@ public class TextSenseController {
String taskName = textSenseVO.getTaskName();
apiTextSenseVO.setApiUrl(apiUrl);
apiTextSenseVO.setInputUri("http://119.193.215.98:8081/uss/ion/pwm/getImage.do?atchFileId="+ atchFileId +"&fileSn=0");
apiTextSenseVO.setInputUri(textSenseinputUri + "/uss/ion/pwm/getImage.do?atchFileId="+ atchFileId +"&fileSn=0");
apiTextSenseVO.setOutputUri("file:/home/kcc_adr_ocr_dir/" + outputFileNm);
apiTextSenseVO.setCallbackUri("http://119.193.215.98:8081/kccadr/textsence/textSenseCallbackUriPage.do");
apiTextSenseVO.setCallbackUri(textSensecallbackUri + "/kccadr/textsence/textSenseCallbackUriPage.do");
apiTextSenseVO.setTaskName(taskName);
//extraJobs의 Option 항목 셋팅 해주기

View File

@ -226,4 +226,6 @@ Globals.Streamdocs.Url=http://192.168.0.176:8085/streamdocs/v4/documents
Globals.BizPpurio.siteUrl=https://api.bizppurio.com
#OCR\uc11c\ubc84\uc8fc\uc18c
Globals.textSense.apiUrl=http://222.231.43.29:7777
Globals.textSense.apiUrl=http://222.231.43.29:7777
Globals.textSense.inputUri=http://119.193.215.98:8081
Globals.textSense.callbackUri=http://119.193.215.98:8081

View File

@ -235,3 +235,5 @@ Globals.BizPpurio.siteUrl=https://dev-api.bizppurio.com
#OCR\uc11c\ubc84\uc8fc\uc18c
Globals.textSense.apiUrl=http://222.231.43.29:7777
Globals.textSense.inputUri=http://119.193.215.98:8081
Globals.textSense.callbackUri=http://119.193.215.98:8081

View File

@ -216,4 +216,6 @@ Globals.Streamdocs.Url=http://192.168.39.144:8080/streamdocs/v4/documents
Globals.BizPpurio.siteUrl=https://api.bizppurio.com
#OCR\uc11c\ubc84\uc8fc\uc18c
Globals.textSense.apiUrl=http://222.231.43.29:7777
Globals.textSense.apiUrl=http://222.231.43.29:7777
Globals.textSense.inputUri=https://adr.copyright.or.kr
Globals.textSense.callbackUri=https://adr.copyright.or.kr

View File

@ -124,7 +124,7 @@
, UPDATEDAT = #updatedat#
, MAX_RETRY_COUNT = #maxRetryCount#
, RETRY_COUNT = #retryCount#
, COLLECEDBY = #collectedby#
, COLLECTEDBY = #collectedby#
, EXTERNAL_ID = #externalId#
WHERE ID = #id#
AND TASK_NAME = #taskName#