Compare commits
No commits in common. "6f00dd69270baeb0d641b8175d0a07dbae53d5f3" and "440210fd16c8cba5756c0da4befc5df3559dcea9" have entirely different histories.
6f00dd6927
...
440210fd16
|
|
@ -59,14 +59,6 @@ public class BaseController {
|
||||||
return mav;
|
return mav;
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/selectBoxOptions")
|
|
||||||
public ModelAndView codeMgtPage(String categoryCd, String selectedCd) {
|
|
||||||
ModelAndView mav = new ModelAndView("common/selectBox/options");
|
|
||||||
mav.addObject("codeList", codeMgtService.selectCodeMgtList(categoryCd));
|
|
||||||
mav.addObject("selectedCd", selectedCd);
|
|
||||||
return mav;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSession(@AuthenticationPrincipal UserInfo loginUser, HttpSession session){
|
public void setSession(@AuthenticationPrincipal UserInfo loginUser, HttpSession session){
|
||||||
loginUser.setDownOrganCdList(organConfigService.selectDownOrganListWhereUserOgCd(loginUser.getOgCd()));
|
loginUser.setDownOrganCdList(organConfigService.selectDownOrganListWhereUserOgCd(loginUser.getOgCd()));
|
||||||
loginUser.setUpOrganCdList(organConfigService.selectUpOrganListWhereUserOgCd(loginUser.getOgCd()));
|
loginUser.setUpOrganCdList(organConfigService.selectUpOrganListWhereUserOgCd(loginUser.getOgCd()));
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ public class ModalController {
|
||||||
|
|
||||||
@GetMapping("/menuModal")
|
@GetMapping("/menuModal")
|
||||||
public ModelAndView menuModalPage(@AuthenticationPrincipal UserInfo loginUser, MenuMgt menuMgt){
|
public ModelAndView menuModalPage(@AuthenticationPrincipal UserInfo loginUser, MenuMgt menuMgt){
|
||||||
ModelAndView mav = new ModelAndView("common/modal/menuModal");
|
ModelAndView mav = new ModelAndView("commonModal/menuModal");
|
||||||
menuMgt.setUserSeq(loginUser.getUserSeq());
|
menuMgt.setUserSeq(loginUser.getUserSeq());
|
||||||
menuMgt.setQueryInfo();
|
menuMgt.setQueryInfo();
|
||||||
mav.addObject("menuMgtList", menuMgtService.selectMenuMgtListToAccessAuth(menuMgt));
|
mav.addObject("menuMgtList", menuMgtService.selectMenuMgtListToAccessAuth(menuMgt));
|
||||||
|
|
@ -36,7 +36,7 @@ public class ModalController {
|
||||||
|
|
||||||
@GetMapping("/userModal")
|
@GetMapping("/userModal")
|
||||||
public ModelAndView userMoadlPage(@AuthenticationPrincipal UserInfo loginUser, UserInfo userInfo){
|
public ModelAndView userMoadlPage(@AuthenticationPrincipal UserInfo loginUser, UserInfo userInfo){
|
||||||
ModelAndView mav = new ModelAndView("common/modal/userModal");
|
ModelAndView mav = new ModelAndView("commonModal/userModal");
|
||||||
userInfo.setQueryInfo();
|
userInfo.setQueryInfo();
|
||||||
if(userInfo.getUserStatus() == null || userInfo.getUserStatus().equals("")) {
|
if(userInfo.getUserStatus() == null || userInfo.getUserStatus().equals("")) {
|
||||||
userInfo.setUserStatus("USC003");
|
userInfo.setUserStatus("USC003");
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,6 @@ public class SecurityConfig{
|
||||||
"/dashboard",
|
"/dashboard",
|
||||||
"/myInfo/**",
|
"/myInfo/**",
|
||||||
"/modal/**",
|
"/modal/**",
|
||||||
"/selectBoxOptions",
|
|
||||||
"/publicBoard/**",
|
"/publicBoard/**",
|
||||||
"/faRpt/**",
|
"/faRpt/**",
|
||||||
"/ivsgt/**",
|
"/ivsgt/**",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.dbnt.faisp.config;
|
package com.dbnt.faisp.config;
|
||||||
|
|
||||||
import org.apache.catalina.connector.Connector;
|
import org.apache.catalina.connector.Connector;
|
||||||
|
import org.apache.coyote.ajp.AbstractAjpProtocol;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
|
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory;
|
||||||
import org.springframework.boot.web.servlet.server.ServletWebServerFactory;
|
import org.springframework.boot.web.servlet.server.ServletWebServerFactory;
|
||||||
|
|
|
||||||
|
|
@ -47,8 +47,8 @@ public class CrackdownStatusController {
|
||||||
|
|
||||||
for (CrackdownStatus cds:crackdownStatusList) {
|
for (CrackdownStatus cds:crackdownStatusList) {
|
||||||
cds.setViolationList(violationRepository.findByFbKey(cds.getFbKey()));
|
cds.setViolationList(violationRepository.findByFbKey(cds.getFbKey()));
|
||||||
cds.setProcessResult(processResultRepository.findByCdsKey(cds.getCdsKey()).orElse(null));
|
cds.setProcessResult(processResultRepository.findByCdsKey(cds.getCdsKey()));
|
||||||
cds.setFishingBoat(fishingBoatRepository.findByCdsKey(cds.getCdsKey()).orElse(null));
|
cds.setFishingBoat(fishingBoatRepository.findByCdsKey(cds.getCdsKey()));
|
||||||
cds.setSailorList(sailorRepository.findByFbKey(cds.getFbKey()));
|
cds.setSailorList(sailorRepository.findByFbKey(cds.getFbKey()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -63,8 +63,8 @@ public class CrackdownStatusController {
|
||||||
public ModelAndView crackdownStatusViewModal(@AuthenticationPrincipal UserInfo loginUser, CrackdownStatus crackdownStatus){
|
public ModelAndView crackdownStatusViewModal(@AuthenticationPrincipal UserInfo loginUser, CrackdownStatus crackdownStatus){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/crackdownStatus/crackdownStatusViewModal");
|
ModelAndView mav = new ModelAndView("faStatistics/crackdownStatus/crackdownStatusViewModal");
|
||||||
crackdownStatus = crackdownStatusService.selectCrackdownStatus(crackdownStatus.getCdsKey());
|
crackdownStatus = crackdownStatusService.selectCrackdownStatus(crackdownStatus.getCdsKey());
|
||||||
crackdownStatus.setFishingBoat(fishingBoatRepository.findByCdsKey(crackdownStatus.getCdsKey()).orElse(null));
|
crackdownStatus.setFishingBoat(fishingBoatRepository.findByCdsKey(crackdownStatus.getCdsKey()));
|
||||||
crackdownStatus.setProcessResult(processResultRepository.findByCdsKey(crackdownStatus.getCdsKey()).orElse(null));
|
crackdownStatus.setProcessResult(processResultRepository.findByCdsKey(crackdownStatus.getCdsKey()));
|
||||||
crackdownStatus.setViolationList(violationRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
crackdownStatus.setViolationList(violationRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
||||||
crackdownStatus.setSailorList(sailorRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
crackdownStatus.setSailorList(sailorRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
||||||
|
|
||||||
|
|
@ -80,8 +80,8 @@ public class CrackdownStatusController {
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/crackdownStatus/crackdownStatusEditModal");
|
ModelAndView mav = new ModelAndView("faStatistics/crackdownStatus/crackdownStatusEditModal");
|
||||||
if(crackdownStatus.getCdsKey()!=null){
|
if(crackdownStatus.getCdsKey()!=null){
|
||||||
crackdownStatus = crackdownStatusService.selectCrackdownStatus(crackdownStatus.getCdsKey());
|
crackdownStatus = crackdownStatusService.selectCrackdownStatus(crackdownStatus.getCdsKey());
|
||||||
crackdownStatus.setFishingBoat(fishingBoatRepository.findByCdsKey(crackdownStatus.getCdsKey()).orElse(null));
|
crackdownStatus.setFishingBoat(fishingBoatRepository.findByCdsKey(crackdownStatus.getCdsKey()));
|
||||||
crackdownStatus.setProcessResult(processResultRepository.findByCdsKey(crackdownStatus.getCdsKey()).orElse(null));
|
crackdownStatus.setProcessResult(processResultRepository.findByCdsKey(crackdownStatus.getCdsKey()));
|
||||||
crackdownStatus.setViolationList(violationRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
crackdownStatus.setViolationList(violationRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
||||||
crackdownStatus.setSailorList(sailorRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
crackdownStatus.setSailorList(sailorRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.ProcessResult;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.CrackdownStatusRepository;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.CrackdownStatusRepository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.FishingBoatRepository;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.FishingBoatRepository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.ViolationRepository;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.ViolationRepository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.service.FishingBoatService;
|
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.service.ProcessResultService;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.service.ProcessResultService;
|
||||||
import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
import com.dbnt.faisp.main.userInfo.model.UserInfo;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
@ -28,7 +27,10 @@ import java.util.List;
|
||||||
public class FishingBoatController {
|
public class FishingBoatController {
|
||||||
|
|
||||||
private final AuthMgtService authMgtService;
|
private final AuthMgtService authMgtService;
|
||||||
private final FishingBoatService fishingBoatService;
|
private final ProcessResultService processResultService;
|
||||||
|
private final ViolationRepository violationRepository;
|
||||||
|
private final CrackdownStatusRepository crackdownStatusRepository;
|
||||||
|
private final FishingBoatRepository fishingBoatRepository;
|
||||||
private final CodeMgtService codeMgtService;
|
private final CodeMgtService codeMgtService;
|
||||||
|
|
||||||
@RequestMapping("/fishingBoat")
|
@RequestMapping("/fishingBoat")
|
||||||
|
|
@ -60,11 +62,11 @@ public class FishingBoatController {
|
||||||
@GetMapping("/fishingBoatViewModal")
|
@GetMapping("/fishingBoatViewModal")
|
||||||
public ModelAndView fishingBoatViewModal(@AuthenticationPrincipal UserInfo loginUser, ProcessResult processResult){
|
public ModelAndView fishingBoatViewModal(@AuthenticationPrincipal UserInfo loginUser, ProcessResult processResult){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultViewModal");
|
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultViewModal");
|
||||||
// processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
||||||
// processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()));
|
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()));
|
||||||
// processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getFbKey());
|
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getFbKey());
|
||||||
// processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getBoatNameKr());
|
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getBoatNameKr());
|
||||||
// processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
||||||
|
|
||||||
mav.addObject("processResult", processResult);
|
mav.addObject("processResult", processResult);
|
||||||
mav.addObject("userSeq",loginUser.getUserSeq());
|
mav.addObject("userSeq",loginUser.getUserSeq());
|
||||||
|
|
@ -74,19 +76,21 @@ public class FishingBoatController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/fishingBoatEditModal")
|
@GetMapping("/fishingBoatEditModal")
|
||||||
public ModelAndView fishingBoatEditModal(@AuthenticationPrincipal UserInfo loginUser, CrackdownStatus crackdownStatus){
|
public ModelAndView fishingBoatEditModal(@AuthenticationPrincipal UserInfo loginUser, FishingBoat fishingBoat){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/fishingBoat/fishingBoatEditModal");
|
ModelAndView mav = new ModelAndView("faStatistics/fishingBoat/fishingBoatEditModal");
|
||||||
if(crackdownStatus.getCdsKey()!=null){
|
if(fishingBoat.getFbKey()!=null && fishingBoat.getCdsKey()!=null){
|
||||||
crackdownStatus = fishingBoatService.selectCrackdownStatus(crackdownStatus.getCdsKey());
|
/*processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
||||||
|
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()));
|
||||||
|
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getFbKey());
|
||||||
|
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getBoatNameKr());
|
||||||
|
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));*/
|
||||||
}else{
|
}else{
|
||||||
crackdownStatus.setFishingBoat(new FishingBoat());
|
fishingBoat.setWrtOrgan(loginUser.getOgCd());
|
||||||
crackdownStatus.setProcessResult(new ProcessResult());
|
fishingBoat.setWrtPart(loginUser.getOfcCd());
|
||||||
crackdownStatus.setWrtOrgan(loginUser.getOgCd());
|
fishingBoat.setWrtUserSeq(loginUser.getUserSeq());
|
||||||
crackdownStatus.setWrtPart(loginUser.getOfcCd());
|
fishingBoat.setWrtUserNm(loginUser.getUserNm());
|
||||||
crackdownStatus.setWrtUserSeq(loginUser.getUserSeq());
|
fishingBoat.setWrtUserGrd(loginUser.getTitleCd());
|
||||||
crackdownStatus.setWrtUserNm(loginUser.getUserNm());
|
fishingBoat.setWrtDt(LocalDateTime.now());
|
||||||
crackdownStatus.setWrtUserGrd(loginUser.getTitleCd());
|
|
||||||
crackdownStatus.setWrtDt(LocalDateTime.now());
|
|
||||||
}
|
}
|
||||||
mav.addObject("ataList", codeMgtService.selectCodeMgtList("ATA"));
|
mav.addObject("ataList", codeMgtService.selectCodeMgtList("ATA"));
|
||||||
mav.addObject("cpoList", codeMgtService.selectCodeMgtList("CPO"));
|
mav.addObject("cpoList", codeMgtService.selectCodeMgtList("CPO"));
|
||||||
|
|
@ -95,7 +99,7 @@ public class FishingBoatController {
|
||||||
mav.addObject("bmList", codeMgtService.selectCodeMgtList("BM"));
|
mav.addObject("bmList", codeMgtService.selectCodeMgtList("BM"));
|
||||||
mav.addObject("prList", codeMgtService.selectCodeMgtList("PR"));
|
mav.addObject("prList", codeMgtService.selectCodeMgtList("PR"));
|
||||||
mav.addObject("bdtList", codeMgtService.selectCodeMgtList("BDT"));
|
mav.addObject("bdtList", codeMgtService.selectCodeMgtList("BDT"));
|
||||||
mav.addObject("crackdownStatus", crackdownStatus);
|
mav.addObject("fishingBoat", fishingBoat);
|
||||||
return mav;
|
return mav;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@ public class SailorController {
|
||||||
List<Sailor> sailorList = sailorService.selectSailorList(sailor);
|
List<Sailor> sailorList = sailorService.selectSailorList(sailor);
|
||||||
|
|
||||||
for (Sailor s:sailorList) {
|
for (Sailor s:sailorList) {
|
||||||
s.setFishingBoat(fishingBoatRepository.findByFbKey(s.getFbKey()).orElse(null));
|
s.setFishingBoat(fishingBoatRepository.findByFbKey(s.getFbKey()));
|
||||||
s.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(s.getFishingBoat().getCdsKey()).orElse(null));
|
s.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(s.getFishingBoat().getCdsKey()));
|
||||||
s.setViolationList(violationRepository.findByFbKey(s.getFishingBoat().getFbKey()));
|
s.setViolationList(violationRepository.findByFbKey(s.getFishingBoat().getFbKey()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -57,8 +57,8 @@ public class SailorController {
|
||||||
public ModelAndView sailorViewModal(@AuthenticationPrincipal UserInfo loginUser, Sailor sailor){
|
public ModelAndView sailorViewModal(@AuthenticationPrincipal UserInfo loginUser, Sailor sailor){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorViewModal");
|
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorViewModal");
|
||||||
sailor = sailorService.selectSailor(sailor.getSailorKey());
|
sailor = sailorService.selectSailor(sailor.getSailorKey());
|
||||||
sailor.setFishingBoat(fishingBoatRepository.findByFbKey(sailor.getFbKey()).orElse(null));
|
sailor.setFishingBoat(fishingBoatRepository.findByFbKey(sailor.getFbKey()));
|
||||||
sailor.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(sailor.getFishingBoat().getCdsKey()).orElse(null));
|
sailor.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(sailor.getFishingBoat().getCdsKey()));
|
||||||
sailor.setViolationList(violationRepository.findByFbKey(sailor.getFishingBoat().getFbKey()));
|
sailor.setViolationList(violationRepository.findByFbKey(sailor.getFishingBoat().getFbKey()));
|
||||||
|
|
||||||
mav.addObject("sailor", sailor);
|
mav.addObject("sailor", sailor);
|
||||||
|
|
@ -82,7 +82,7 @@ public class SailorController {
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorHistoryDetail");
|
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorHistoryDetail");
|
||||||
|
|
||||||
sailorVersion = sailorService.selectSailorVersion(sailorVersion.getVersionNo());
|
sailorVersion = sailorService.selectSailorVersion(sailorVersion.getVersionNo());
|
||||||
sailorVersion.setFishingBoat(fishingBoatRepository.findByFbKey(7).orElse(null));
|
sailorVersion.setFishingBoat(fishingBoatRepository.findByFbKey(7));
|
||||||
|
|
||||||
mav.addObject("sailorVersion", sailorVersion);
|
mav.addObject("sailorVersion", sailorVersion);
|
||||||
return mav;
|
return mav;
|
||||||
|
|
@ -92,8 +92,8 @@ public class SailorController {
|
||||||
public ModelAndView sailorEditModal(@AuthenticationPrincipal UserInfo loginUser, Sailor sailor){
|
public ModelAndView sailorEditModal(@AuthenticationPrincipal UserInfo loginUser, Sailor sailor){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorEditModal");
|
ModelAndView mav = new ModelAndView("faStatistics/sailor/sailorEditModal");
|
||||||
sailor = sailorService.selectSailor(sailor.getSailorKey());
|
sailor = sailorService.selectSailor(sailor.getSailorKey());
|
||||||
sailor.setFishingBoat(fishingBoatRepository.findByFbKey(sailor.getFbKey()).orElse(null));
|
sailor.setFishingBoat(fishingBoatRepository.findByFbKey(sailor.getFbKey()));
|
||||||
sailor.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(sailor.getFishingBoat().getCdsKey()).orElse(null));
|
sailor.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(sailor.getFishingBoat().getCdsKey()));
|
||||||
sailor.setViolationList(violationRepository.findByFbKey(sailor.getFishingBoat().getFbKey()));
|
sailor.setViolationList(violationRepository.findByFbKey(sailor.getFishingBoat().getFbKey()));
|
||||||
|
|
||||||
mav.addObject("sailor", sailor);
|
mav.addObject("sailor", sailor);
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,6 @@ public class FishingBoat extends BaseModel {
|
||||||
private String permitNum;
|
private String permitNum;
|
||||||
@Column(name = "nationality")
|
@Column(name = "nationality")
|
||||||
private String nationality;
|
private String nationality;
|
||||||
@Column(name = "sailor_cnt")
|
|
||||||
private Integer sailorCnt;
|
|
||||||
@Column(name = "ton_cnt")
|
@Column(name = "ton_cnt")
|
||||||
private Integer tonCnt;
|
private Integer tonCnt;
|
||||||
@Column(name = "fishery_type")
|
@Column(name = "fishery_type")
|
||||||
|
|
@ -48,8 +46,6 @@ public class FishingBoat extends BaseModel {
|
||||||
private String boatNnySi;
|
private String boatNnySi;
|
||||||
@Column(name = "offense_type")
|
@Column(name = "offense_type")
|
||||||
private String offenseType;
|
private String offenseType;
|
||||||
@Column(name = "offense_weight")
|
|
||||||
private Double offenseWeight;
|
|
||||||
@Column(name = "offense_quantity")
|
@Column(name = "offense_quantity")
|
||||||
private Integer offenseQuantity;
|
private Integer offenseQuantity;
|
||||||
@Column(name = "offense_amount")
|
@Column(name = "offense_amount")
|
||||||
|
|
|
||||||
|
|
@ -44,8 +44,8 @@ public class ProcessResultController {
|
||||||
List<ProcessResult> processResultList = processResultService.selectProcessResultList(processResult);
|
List<ProcessResult> processResultList = processResultService.selectProcessResultList(processResult);
|
||||||
|
|
||||||
for (ProcessResult pr:processResultList) {
|
for (ProcessResult pr:processResultList) {
|
||||||
pr.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(pr.getCdsKey()).orElse(null));
|
pr.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(pr.getCdsKey()));
|
||||||
pr.setFishingBoat(fishingBoatRepository.findByCdsKey(pr.getCdsKey()).orElse(null));
|
pr.setFishingBoat(fishingBoatRepository.findByCdsKey(pr.getCdsKey()));
|
||||||
pr.setViolationList(violationRepository.findByFbKey(pr.getFishingBoat().getFbKey()));
|
pr.setViolationList(violationRepository.findByFbKey(pr.getFishingBoat().getFbKey()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -60,9 +60,9 @@ public class ProcessResultController {
|
||||||
public ModelAndView processResultViewModal(@AuthenticationPrincipal UserInfo loginUser, ProcessResult processResult){
|
public ModelAndView processResultViewModal(@AuthenticationPrincipal UserInfo loginUser, ProcessResult processResult){
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultViewModal");
|
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultViewModal");
|
||||||
processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
||||||
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()).orElse(null));
|
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()));
|
||||||
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).orElse(null).getFbKey());
|
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getFbKey());
|
||||||
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).orElse(null).getBoatNameKr());
|
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getBoatNameKr());
|
||||||
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
||||||
|
|
||||||
mav.addObject("processResult", processResult);
|
mav.addObject("processResult", processResult);
|
||||||
|
|
@ -77,9 +77,9 @@ public class ProcessResultController {
|
||||||
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultEditModal");
|
ModelAndView mav = new ModelAndView("faStatistics/processResult/processResultEditModal");
|
||||||
if(processResult.getPrKey()!=null){
|
if(processResult.getPrKey()!=null){
|
||||||
processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
processResult = processResultService.selectProcessResult(processResult.getPrKey());
|
||||||
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()).orElse(null));
|
processResult.setCrackdownStatus(crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()));
|
||||||
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).orElse(null).getFbKey());
|
processResult.setFbKey(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getFbKey());
|
||||||
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).orElse(null).getBoatNameKr());
|
processResult.setBoatNameKr(fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).getBoatNameKr());
|
||||||
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
processResult.setViolationList(violationRepository.findByFbKey(processResult.getFbKey()));
|
||||||
}else{
|
}else{
|
||||||
processResult.setWrtOrgan(loginUser.getOgCd());
|
processResult.setWrtOrgan(loginUser.getOgCd());
|
||||||
|
|
@ -3,8 +3,6 @@ package com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.CrackdownStatus;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.CrackdownStatus;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
public interface CrackdownStatusRepository extends JpaRepository<CrackdownStatus, Integer> {
|
public interface CrackdownStatusRepository extends JpaRepository<CrackdownStatus, Integer> {
|
||||||
Optional<CrackdownStatus> findByCdsKey(Integer cdsKey);
|
CrackdownStatus findByCdsKey(Integer cdsKey);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,7 @@ package com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.FishingBoat;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.FishingBoat;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
public interface FishingBoatRepository extends JpaRepository<FishingBoat, Integer> {
|
public interface FishingBoatRepository extends JpaRepository<FishingBoat, Integer> {
|
||||||
|
FishingBoat findByCdsKey(Integer cdsKey);
|
||||||
Optional<FishingBoat> findByCdsKey(Integer cdsKey);
|
FishingBoat findByFbKey(Integer fbKey);
|
||||||
Optional<FishingBoat> findByFbKey(Integer fbKey);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,7 @@ package com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository;
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.ProcessResult;
|
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.ProcessResult;
|
||||||
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
||||||
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
public interface ProcessResultRepository extends JpaRepository<ProcessResult, Integer> {
|
public interface ProcessResultRepository extends JpaRepository<ProcessResult, Integer> {
|
||||||
Optional<ProcessResult> findByCdsKey(Integer cdsKey);
|
ProcessResult findByCdsKey(Integer cdsKey);
|
||||||
Optional<ProcessResult> findByPrKey(Integer prKey);
|
ProcessResult findByPrKey(Integer prKey);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,102 +0,0 @@
|
||||||
package com.dbnt.faisp.main.faStatistics.crackdownsStatus.service;
|
|
||||||
|
|
||||||
|
|
||||||
import com.dbnt.faisp.config.BaseService;
|
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.mapper.CrackdownStatusMapper;
|
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.*;
|
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.sailor.Sailor;
|
|
||||||
import com.dbnt.faisp.main.faStatistics.crackdownsStatus.repository.*;
|
|
||||||
import lombok.RequiredArgsConstructor;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
@Service
|
|
||||||
@RequiredArgsConstructor
|
|
||||||
public class FishingBoatService extends BaseService {
|
|
||||||
|
|
||||||
private final CrackdownStatusMapper crackdownStatusMapper;
|
|
||||||
private final CrackdownStatusRepository crackdownStatusRepository;
|
|
||||||
private final FishingBoatRepository fishingBoatRepository;
|
|
||||||
private final ViolationRepository violationRepository;
|
|
||||||
private final ProcessResultRepository processResultRepository;
|
|
||||||
private final SailorRepository sailorRepository;
|
|
||||||
|
|
||||||
public CrackdownStatus selectCrackdownStatus(Integer cdsKey) {
|
|
||||||
CrackdownStatus crackdownStatus = crackdownStatusRepository.findById(cdsKey).orElse(null);
|
|
||||||
crackdownStatus.setFishingBoat(fishingBoatRepository.findByCdsKey(cdsKey).orElse(new FishingBoat()));
|
|
||||||
crackdownStatus.setProcessResult(processResultRepository.findByCdsKey(cdsKey).orElse(new ProcessResult()));
|
|
||||||
if(crackdownStatus.getFishingBoat()!=null){
|
|
||||||
crackdownStatus.setViolationList(violationRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
|
||||||
crackdownStatus.setSailorList(sailorRepository.findByFbKey(crackdownStatus.getFishingBoat().getFbKey()));
|
|
||||||
for(Sailor sailor: crackdownStatus.getSailorList()){
|
|
||||||
//첨부파일 ...?
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return crackdownStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Transactional
|
|
||||||
public Integer saveCrackdownStatus(CrackdownStatus crackdownStatus) {
|
|
||||||
if (crackdownStatus.getViolationDeleteKeyList() != null) {
|
|
||||||
violationRepository.deleteAllByIdInQuery(crackdownStatus.getViolationDeleteKeyList());
|
|
||||||
}
|
|
||||||
if (crackdownStatus.getSailorDeleteKeyList() != null) {
|
|
||||||
sailorRepository.deleteAllByIdInQuery(crackdownStatus.getSailorDeleteKeyList());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (crackdownStatus.getCrackdownBoatEtc() != null) {
|
|
||||||
crackdownStatus.setCrackdownBoat(crackdownStatus.getCrackdownBoatEtc());
|
|
||||||
}
|
|
||||||
if (crackdownStatus.getCrackdownPoliceEtc() != null) {
|
|
||||||
crackdownStatus.setCrackdownPolice(crackdownStatus.getCrackdownPoliceEtc());
|
|
||||||
}
|
|
||||||
|
|
||||||
Integer cdsKey = crackdownStatusRepository.save(crackdownStatus).getCdsKey();
|
|
||||||
if (crackdownStatus.getFishingBoat() != null) {
|
|
||||||
if (crackdownStatus.getFishingBoat().getBoatMaterialEtc() != null) {
|
|
||||||
crackdownStatus.getFishingBoat().setBoatMaterial(crackdownStatus.getFishingBoat().getBoatMaterialEtc());
|
|
||||||
}
|
|
||||||
if (crackdownStatus.getFishingBoat().getFisheryTypeEtc() != null) {
|
|
||||||
crackdownStatus.getFishingBoat().setFisheryType(crackdownStatus.getFishingBoat().getFisheryTypeEtc());
|
|
||||||
}
|
|
||||||
|
|
||||||
crackdownStatus.getFishingBoat().setCdsKey(cdsKey);
|
|
||||||
Integer fbKey = fishingBoatRepository.save(crackdownStatus.getFishingBoat()).getFbKey();
|
|
||||||
crackdownStatus.getFishingBoat().setFbKey(fbKey);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (crackdownStatus.getProcessResult() != null) {
|
|
||||||
if (crackdownStatus.getProcessResult().getProcessStatusEtc() != null) {
|
|
||||||
crackdownStatus.getProcessResult().setProcessStatus(crackdownStatus.getProcessResult().getProcessStatusEtc());
|
|
||||||
}
|
|
||||||
crackdownStatus.getProcessResult().setCdsKey(cdsKey);
|
|
||||||
Integer prKey = processResultRepository.save(crackdownStatus.getProcessResult()).getPrKey();
|
|
||||||
crackdownStatus.getProcessResult().setPrKey(prKey);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*if (internationalCrimeArrest.getDeleteSpiKeyList() != null) {
|
|
||||||
suspectPersonInfoRepository.deleteAllByIdInQuery(internationalCrimeArrest.getDeleteSpiKeyList());
|
|
||||||
}*/
|
|
||||||
|
|
||||||
if (crackdownStatus.getViolationList() != null) {
|
|
||||||
for(Violation violation: crackdownStatus.getViolationList()){
|
|
||||||
if (violation.getViolationEtc() != null) {
|
|
||||||
violation.setViolation(violation.getViolationEtc());
|
|
||||||
}
|
|
||||||
violation.setFbKey(crackdownStatus.getFishingBoat().getFbKey());
|
|
||||||
}
|
|
||||||
violationRepository.saveAll(crackdownStatus.getViolationList());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (crackdownStatus.getSailorList() != null) {
|
|
||||||
for(Sailor sailor: crackdownStatus.getSailorList()){
|
|
||||||
sailor.setFbKey(crackdownStatus.getFishingBoat().getFbKey());
|
|
||||||
}
|
|
||||||
sailorRepository.saveAll(crackdownStatus.getSailorList());
|
|
||||||
}
|
|
||||||
|
|
||||||
return cdsKey;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -50,7 +50,7 @@ public class ProcessResultService extends BaseService {
|
||||||
processResult.setExecutionDetail(processResult.getExecutionDetailEtc());
|
processResult.setExecutionDetail(processResult.getExecutionDetailEtc());
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcessResult existingProcessResult = processResultRepository.findByPrKey(processResult.getPrKey()).orElse(null);
|
ProcessResult existingProcessResult = processResultRepository.findByPrKey(processResult.getPrKey());
|
||||||
Utils.copyNonNullProperties(processResult, existingProcessResult);
|
Utils.copyNonNullProperties(processResult, existingProcessResult);
|
||||||
Integer prKey = processResultRepository.save(existingProcessResult).getPrKey();
|
Integer prKey = processResultRepository.save(existingProcessResult).getPrKey();
|
||||||
|
|
||||||
|
|
@ -59,13 +59,13 @@ public class ProcessResultService extends BaseService {
|
||||||
processResult.getCrackdownStatus().setCrackdownPolice(processResult.getCrackdownStatus().getCrackdownPoliceEtc());
|
processResult.getCrackdownStatus().setCrackdownPolice(processResult.getCrackdownStatus().getCrackdownPoliceEtc());
|
||||||
}
|
}
|
||||||
|
|
||||||
CrackdownStatus existingCrackdownStatus = crackdownStatusRepository.findByCdsKey(processResult.getCdsKey()).orElse(null);
|
CrackdownStatus existingCrackdownStatus = crackdownStatusRepository.findByCdsKey(processResult.getCdsKey());
|
||||||
Utils.copyNonNullProperties(processResult, existingCrackdownStatus);
|
Utils.copyNonNullProperties(processResult, existingCrackdownStatus);
|
||||||
processResult.setCrackdownStatus(crackdownStatusRepository.save(existingCrackdownStatus));
|
processResult.setCrackdownStatus(crackdownStatusRepository.save(existingCrackdownStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (processResult.getFishingBoat() != null) {
|
if (processResult.getFishingBoat() != null) {
|
||||||
FishingBoat existingFishingBoat = fishingBoatRepository.findByCdsKey(processResult.getCdsKey()).orElse(null);
|
FishingBoat existingFishingBoat = fishingBoatRepository.findByCdsKey(processResult.getCdsKey());
|
||||||
Utils.copyNonNullProperties(processResult, existingFishingBoat);
|
Utils.copyNonNullProperties(processResult, existingFishingBoat);
|
||||||
fishingBoatRepository.save(existingFishingBoat);
|
fishingBoatRepository.save(existingFishingBoat);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,13 +65,13 @@ public class SailorService extends BaseService {
|
||||||
sailor.getCrackdownStatus().setCrackdownPolice(sailor.getCrackdownStatus().getCrackdownPoliceEtc());
|
sailor.getCrackdownStatus().setCrackdownPolice(sailor.getCrackdownStatus().getCrackdownPoliceEtc());
|
||||||
}
|
}
|
||||||
|
|
||||||
CrackdownStatus existingCrackdownStatus = crackdownStatusRepository.findByCdsKey(sailor.getCrackdownStatus().getCdsKey()).orElse(null);
|
CrackdownStatus existingCrackdownStatus = crackdownStatusRepository.findByCdsKey(sailor.getCrackdownStatus().getCdsKey());
|
||||||
Utils.copyNonNullProperties(sailor, existingCrackdownStatus);
|
Utils.copyNonNullProperties(sailor, existingCrackdownStatus);
|
||||||
sailor.setCrackdownStatus(crackdownStatusRepository.save(existingCrackdownStatus));
|
sailor.setCrackdownStatus(crackdownStatusRepository.save(existingCrackdownStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sailor.getFishingBoat() != null) {
|
if (sailor.getFishingBoat() != null) {
|
||||||
FishingBoat existingFishingBoat = fishingBoatRepository.findByCdsKey(sailor.getCrackdownStatus().getCdsKey()).orElse(null);
|
FishingBoat existingFishingBoat = fishingBoatRepository.findByCdsKey(sailor.getCrackdownStatus().getCdsKey());
|
||||||
Utils.copyNonNullProperties(sailor, existingFishingBoat);
|
Utils.copyNonNullProperties(sailor, existingFishingBoat);
|
||||||
fishingBoatRepository.save(existingFishingBoat);
|
fishingBoatRepository.save(existingFishingBoat);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
tomcat.ajp.protocol=AJP/1.3
|
|
||||||
|
|
||||||
#file upload
|
|
||||||
spring.servlet.multipart.location=/uploadFiles
|
|
||||||
spring.servlet.multipart.max-file-size=200MB
|
|
||||||
spring.servlet.multipart.max-request-size=500MB
|
|
||||||
|
|
||||||
#thymeleaf
|
|
||||||
spring.thymeleaf.prefix=classpath:templates/
|
|
||||||
spring.thymeleaf.check-template-location=true
|
|
||||||
spring.thymeleaf.suffix=.html
|
|
||||||
spring.thymeleaf.mode=HTML
|
|
||||||
|
|
||||||
#Datasource Configuration
|
|
||||||
spring.sql.init.encoding=utf-8
|
|
||||||
#maximum-pool-size: CPU core count
|
|
||||||
spring.datasource.hikari.maximum-pool-size=4
|
|
||||||
#postgresql
|
|
||||||
spring.datasource-main.driverClassName=org.postgresql.Driver
|
|
||||||
spring.datasource-main.url=jdbc:postgresql://118.219.150.34:50503/faisp
|
|
||||||
spring.datasource-main.username=dbnt0031
|
|
||||||
spring.datasource-main.password=dbnt0928!
|
|
||||||
#oracle
|
|
||||||
spring.datasource-kwms.driverClassName=oracle.jdbc.driver.OracleDriver
|
|
||||||
spring.datasource-kwms.jdbcUrl=jdbc:oracle:thin:@118.219.150.34:51521:kwms
|
|
||||||
spring.datasource-kwms.username=kwms
|
|
||||||
spring.datasource-kwms.password=dbnt0928
|
|
||||||
|
|
||||||
#jpa
|
|
||||||
spring.jpa.show-sql=false
|
|
||||||
spring.jpa.generate-ddl=false
|
|
||||||
spring.jpa.hibernate.naming.physical-strategy = org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
|
||||||
|
|
||||||
# MyBatis
|
|
||||||
mybatis.mapper-locations: mybatisMapper/*.xml
|
|
||||||
mybatis.configuration.map-underscore-to-camel-case=true
|
|
||||||
mybatis.type-aliases-package=com.dbnt.faisp.main.**.model
|
|
||||||
logging.level.com.atoz_develop.mybatissample.repository=TRACE
|
|
||||||
|
|
@ -17,7 +17,7 @@ spring.sql.init.encoding=utf-8
|
||||||
spring.datasource.hikari.maximum-pool-size=4
|
spring.datasource.hikari.maximum-pool-size=4
|
||||||
#postgresql
|
#postgresql
|
||||||
spring.datasource-main.driverClassName=org.postgresql.Driver
|
spring.datasource-main.driverClassName=org.postgresql.Driver
|
||||||
spring.datasource-main.jdbcUrl=jdbc:postgresql://118.219.150.34:50503/faisp
|
spring.datasource-main.url=jdbc:postgresql://118.219.150.34:50503/faisp
|
||||||
spring.datasource-main.username=dbnt0031
|
spring.datasource-main.username=dbnt0031
|
||||||
spring.datasource-main.password=dbnt0928!
|
spring.datasource-main.password=dbnt0928!
|
||||||
#oracle
|
#oracle
|
||||||
|
|
|
||||||
|
|
@ -1,48 +1,11 @@
|
||||||
$(document).on('click', '#getFishingBoatEditModalBtn', function (){
|
$(document).on('click', '#getFishingBoatEditModalBtn', function (){
|
||||||
getFishingBoatEditModal(null, null);
|
getFishingBoatEditModal(null, null);
|
||||||
})
|
})
|
||||||
$(document).on('change', '#crackdownPolice', function (){
|
|
||||||
getCrackdownBoatOption(this.value);
|
|
||||||
})
|
|
||||||
$(document).on('change', '.boatNameKr', function (){
|
|
||||||
$(".boatNameKr").val(this.value);
|
|
||||||
})
|
|
||||||
$(document).on('change', '#equalCaptain', function (){
|
|
||||||
if(this.checked){
|
|
||||||
$.each($("#captainDiv :input"), function (idx, input){
|
|
||||||
$("#shipOwnerDiv").find("[name='"+input.name+"']").val(input.value)
|
|
||||||
})
|
|
||||||
}else{
|
|
||||||
$("#shipOwnerDiv :input").val("");
|
|
||||||
}
|
|
||||||
})
|
|
||||||
$(document).on('change', '#captainDiv :input', function (){
|
|
||||||
if($("#equalCaptain").prop("checked")){
|
|
||||||
$("#shipOwnerDiv").find("[name='"+this.name+"']").val(this.value)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
$(document).on('click', '#sailorAddBtn', function (){
|
|
||||||
$("#sailorRestrictionDiv").append(
|
|
||||||
'<div class="col-4">\n' +
|
|
||||||
' <div class="input-group w-auto">\n' +
|
|
||||||
' <select class="form-select form-select-sm isRestriction" id="normalSailorRestriction">\n' +
|
|
||||||
' <option value="">선택</option>\n' +
|
|
||||||
' <option value="O">O</option>\n' +
|
|
||||||
' <option value="X">X</option>\n' +
|
|
||||||
' </select>\n' +
|
|
||||||
' <input type="text" class="form-control form-control-sm" id="normalSailor" placeholder="이름">\n' +
|
|
||||||
' <button type="button" class="btn btn-sm btn-outline-secondary opacity-50 sailorRemoveBtn">\n' +
|
|
||||||
' <i class="bi bi-dash-square text-danger"></i>\n' +
|
|
||||||
' </button>\n' +
|
|
||||||
' </div>\n' +
|
|
||||||
'</div>'
|
|
||||||
)
|
|
||||||
})
|
|
||||||
|
|
||||||
function getFishingBoatEditModal(cdsKey){
|
function getFishingBoatEditModal(fbKey, cdsKey){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/faStatistics/fishingBoatEditModal',
|
url: '/faStatistics/fishingBoatEditModal',
|
||||||
data: {cdsKey: cdsKey},
|
data: {fbKey: fbKey, cdsKey: cdsKey},
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
dataType:"html",
|
dataType:"html",
|
||||||
success: function(html){
|
success: function(html){
|
||||||
|
|
@ -58,10 +21,6 @@ function getFishingBoatEditModal(cdsKey){
|
||||||
lang:'kr',
|
lang:'kr',
|
||||||
step:20
|
step:20
|
||||||
});
|
});
|
||||||
const crackdownPolice = $("#crackdownPolice").val()
|
|
||||||
if(crackdownPolice){
|
|
||||||
getCrackdownBoatOption(crackdownPolice)
|
|
||||||
}
|
|
||||||
$("#fishingBoatEditModal").modal('show');
|
$("#fishingBoatEditModal").modal('show');
|
||||||
},
|
},
|
||||||
error:function(){
|
error:function(){
|
||||||
|
|
@ -69,20 +28,3 @@ function getFishingBoatEditModal(cdsKey){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function getCrackdownBoatOption(categoryCd){
|
|
||||||
$.ajax({
|
|
||||||
url: '/selectBoxOptions',
|
|
||||||
data: {categoryCd: categoryCd, selectedCd: $("#crackdownBoat").attr("data-boatcode")},
|
|
||||||
type: 'GET',
|
|
||||||
dataType:"html",
|
|
||||||
success: function(html){
|
|
||||||
const crackdownBoat = $("#crackdownBoat");
|
|
||||||
crackdownBoat.empty().append(html);
|
|
||||||
crackdownBoat.removeAttr("disabled");
|
|
||||||
},
|
|
||||||
error:function(){
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
||||||
<option value="">선택</option>
|
|
||||||
<th:block th:each="code:${codeList}">
|
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq selectedCd}"></option>
|
|
||||||
</th:block>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,20 +1,21 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title" id="fishingBoatEditModalLabel" th:text="${crackdownStatus.cdsKey eq null?'외국어선정보 작성':'외국어선정보 수정'}"></h5>
|
<h5 class="modal-title" id="fishingBoatEditModalLabel" th:text="${fishingBoat.fbKey eq null?'외국어선정보 작성':'외국어선정보 수정'}"></h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<form action="#" method="post" id="fishingBoatEditForm">
|
<form action="#" method="post" id="fishingBoatEditForm">
|
||||||
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
||||||
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
||||||
<input type="hidden" name="cdsKey" th:value="${crackdownStatus.cdsKey}">
|
<input type="hidden" name="fbKey" th:value="${fishingBoat.fbKey}">
|
||||||
<input type="hidden" name="saveYn" id="saveYn" th:value="${crackdownStatus.fishingBoat.saveYn}">
|
<input type="hidden" name="cdsKey" th:value="${fishingBoat.cdsKey}">
|
||||||
<input type="hidden" name="wrtOrgan" th:value="${crackdownStatus.wrtOrgan}">
|
<input type="hidden" name="saveYn" id="saveYn" th:value="${fishingBoat.saveYn}">
|
||||||
<input type="hidden" name="wrtPart" th:value="${crackdownStatus.wrtPart}">
|
<input type="hidden" name="wrtOrgan" th:value="${fishingBoat.wrtOrgan}">
|
||||||
<input type="hidden" name="wrtUserSeq" th:value="${crackdownStatus.wrtUserSeq}">
|
<input type="hidden" name="wrtPart" th:value="${fishingBoat.wrtPart}">
|
||||||
<input type="hidden" name="wrtUserNm" th:value="${crackdownStatus.wrtUserNm}">
|
<input type="hidden" name="wrtUserSeq" th:value="${fishingBoat.wrtUserSeq}">
|
||||||
<input type="hidden" name="wrtUserGrd" th:value="${crackdownStatus.wrtUserGrd}">
|
<input type="hidden" name="wrtUserNm" th:value="${fishingBoat.wrtUserNm}">
|
||||||
|
<input type="hidden" name="wrtUserGrd" th:value="${fishingBoat.wrtUserGrd}">
|
||||||
<ul class="nav nav-tabs" id="userTab" role="tablist">
|
<ul class="nav nav-tabs" id="userTab" role="tablist">
|
||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<button class="nav-link active" id="baseInfoTab" data-bs-toggle="tab" data-bs-target="#baseInfoTabPanel" type="button" role="tab" aria-controls="baseInfoTabPanel" aria-selected="true">기본정보</button>
|
<button class="nav-link active" id="baseInfoTab" data-bs-toggle="tab" data-bs-target="#baseInfoTabPanel" type="button" role="tab" aria-controls="baseInfoTabPanel" aria-selected="true">기본정보</button>
|
||||||
|
|
@ -34,11 +35,11 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="boatNameKr" class="col-sm-1 col-form-label col-form-label-sm text-center">선명</label>
|
<label for="boatNameKr" class="col-sm-1 col-form-label col-form-label-sm text-center">선명</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm boatNameKr" id="boatNameKr" name="boatNameKr" placeholder="한글" th:value="${crackdownStatus.fishingBoat.boatNameKr}">
|
<input type="text" class="form-control form-control-sm boatNameKr" id="boatNameKr" name="boatNameKr" placeholder="한글">
|
||||||
</div>
|
</div>
|
||||||
<label for="caseNum" class="col-sm-1 col-form-label col-form-label-sm text-center">사건번호</label>
|
<label for="caseNum" class="col-sm-1 col-form-label col-form-label-sm text-center">사건번호</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="caseNum" name="caseNum" th:value="${crackdownStatus.caseNum}">
|
<input type="text" class="form-control form-control-sm" id="caseNum" name="caseNum">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
|
|
@ -47,26 +48,26 @@
|
||||||
<select class="form-select form-select-sm" id="caseAgency" name="caseAgency">
|
<select class="form-select form-select-sm" id="caseAgency" name="caseAgency">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="code:${ataList}">
|
<th:block th:each="code:${ataList}">
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${crackdownStatus.caseAgency}"></option>
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label for="casePoliceOfficer" class="col-sm-1 col-form-label col-form-label-sm text-center fs-13">사건담당경찰관</label>
|
<label for="casePoliceOfficer" class="col-sm-1 col-form-label col-form-label-sm text-center fs-13">사건담당경찰관</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="casePoliceOfficer" name="casePoliceOfficer" th:value="${crackdownStatus.casePoliceOfficer}">
|
<input type="text" class="form-control form-control-sm" id="casePoliceOfficer" name="casePoliceOfficer">
|
||||||
</div>
|
</div>
|
||||||
<label for="crackdownPolice" class="col-sm-1 col-form-label col-form-label-sm text-center">단속경찰서</label>
|
<label for="crackdownPolice" class="col-sm-1 col-form-label col-form-label-sm text-center">단속경찰서</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select class="form-select form-select-sm" name="crackdownPolice" id="crackdownPolice">
|
<select class="form-select form-select-sm" name="crackdownPolice" id="crackdownPolice">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="code:${cpoList}">
|
<th:block th:each="code:${cpoList}">
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${crackdownStatus.crackdownPolice}"></option>
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label for="crackdownBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">단속함정</label>
|
<label for="crackdownBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">단속함정</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select class="form-select form-select-sm" name="crackdownBoat" id="crackdownBoat" th:data-boatcode="${crackdownStatus.crackdownBoat}" disabled>
|
<select class="form-select form-select-sm" name="crackdownBoat" id="crackdownBoat" disabled>
|
||||||
<option value="">단속경찰서를 선택해주세요.</option>
|
<option value="">단속경찰서를 선택해주세요.</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -74,14 +75,14 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="napoDt" class="col-sm-1 col-form-label col-form-label-sm text-center">나포일시</label>
|
<label for="napoDt" class="col-sm-1 col-form-label col-form-label-sm text-center">나포일시</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="napoDt" name="napoDt" placeholder="0000-00-00" th:value="${crackdownStatus.napoDt}">
|
<input type="text" class="form-control form-control-sm dateSelector" id="napoDt" name="napoDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="napoSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">나포장소</label>
|
<label for="napoSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">나포장소</label>
|
||||||
<div class="col-sm-5">
|
<div class="col-sm-5">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm w-25" id="napoSeaPointLon" name="napoSeaPointLon" placeholder="00 . 00 . 00N" th:value="${crackdownStatus.napoSeaPointLon}">
|
<input type="text" class="form-control form-control-sm w-25" id="napoSeaPointLon" name="napoSeaPointLon" placeholder="00 . 00 . 00N">
|
||||||
<input type="text" class="form-control form-control-sm w-25" id="napoSeaPointLat" name="napoSeaPointLat" placeholder="000-00.00E" th:value="${crackdownStatus.napoSeaPointLat}">
|
<input type="text" class="form-control form-control-sm w-25" id="napoSeaPointLat" name="napoSeaPointLat" placeholder="000-00.00E">
|
||||||
<input type="text" class="form-control form-control-sm w-50" id="napoSeaPointDetail" name="napoSeaPointDetail" placeholder="00도 00방 00해리, 어업협정선 내측 00해리" th:value="${crackdownStatus.napoSeaPointDetail}">
|
<input type="text" class="form-control form-control-sm w-50" id="napoSeaPointDetail" name="napoSeaPointDetail" placeholder="00도 00방 00해리, 어업협정선 내측 00해리">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<label for="fieldIvsgt" class="col-sm-1 col-form-label col-form-label-sm text-center">압송/현장조사</label>
|
<label for="fieldIvsgt" class="col-sm-1 col-form-label col-form-label-sm text-center">압송/현장조사</label>
|
||||||
|
|
@ -113,7 +114,7 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="birthdate" class="col-sm-2 col-form-label col-form-label-sm text-center">생년월일</label>
|
<label for="birthdate" class="col-sm-2 col-form-label col-form-label-sm text-center">생년월일</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="birthdate" name="birthdate" placeholder="0000-00-00">
|
<input type="text" class="form-control form-control-sm dateSelector" id="birthdate" name="birthdate">
|
||||||
</div>
|
</div>
|
||||||
<label for="sailorContact" class="col-sm-2 col-form-label col-form-label-sm text-center">연락처</label>
|
<label for="sailorContact" class="col-sm-2 col-form-label col-form-label-sm text-center">연락처</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
|
|
@ -177,7 +178,7 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="birthdate2" class="col-sm-2 col-form-label col-form-label-sm text-center">생년월일</label>
|
<label for="birthdate2" class="col-sm-2 col-form-label col-form-label-sm text-center">생년월일</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="birthdate2" name="birthdate" placeholder="0000-00-00">
|
<input type="text" class="form-control form-control-sm dateSelector" id="birthdate2" name="birthdate">
|
||||||
</div>
|
</div>
|
||||||
<label for="sailorContact2" class="col-sm-2 col-form-label col-form-label-sm text-center">연락처</label>
|
<label for="sailorContact2" class="col-sm-2 col-form-label col-form-label-sm text-center">연락처</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
|
|
@ -204,8 +205,8 @@
|
||||||
<label for="boatNameCn" class="col-sm-1 col-form-label col-form-label-sm text-center">선명</label>
|
<label for="boatNameCn" class="col-sm-1 col-form-label col-form-label-sm text-center">선명</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm boatNameKr" placeholder="한글" th:value="${crackdownStatus.fishingBoat.boatNameKr}">
|
<input type="text" class="form-control form-control-sm boatNameKr" name="boatNameKr" placeholder="한글">
|
||||||
<input type="text" class="form-control form-control-sm" id="boatNameCn" name="boatNameCn" placeholder="중문" th:value="${crackdownStatus.fishingBoat.boatNameCn}">
|
<input type="text" class="form-control form-control-sm" id="boatNameCn" name="boatNameCn" placeholder="중문">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-1"></div>
|
<div class="col-sm-1"></div>
|
||||||
|
|
@ -222,19 +223,19 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="permitNum" class="col-sm-1 col-form-label col-form-label-sm text-center">허가번호</label>
|
<label for="permitNum" class="col-sm-1 col-form-label col-form-label-sm text-center">허가번호</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="permitNum" name="permitNum" th:value="${crackdownStatus.fishingBoat.permitNum}">
|
<input type="text" class="form-control form-control-sm" id="permitNum" name="permitNum">
|
||||||
</div>
|
</div>
|
||||||
<label for="nationality" class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
|
<label for="nationality" class="col-sm-1 col-form-label col-form-label-sm text-center">국적</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="nationality" name="nationality" th:value="${crackdownStatus.fishingBoat.nationality}">
|
<input type="text" class="form-control form-control-sm" id="nationality" name="nationality">
|
||||||
</div>
|
</div>
|
||||||
<label for="sailorCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">승선원</label>
|
<label for="sailorCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">승선원</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="sailorCnt" name="sailorCnt" placeholder="0인" th:value="${crackdownStatus.fishingBoat.sailorCnt}">
|
<input type="text" class="form-control form-control-sm" id="sailorCnt" name="sailorCnt">
|
||||||
</div>
|
</div>
|
||||||
<label for="tonCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">톤수</label>
|
<label for="tonCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">톤수</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="tonCnt" name="tonCnt" placeholder="000.00t" th:value="${crackdownStatus.fishingBoat.tonCnt}">
|
<input type="text" class="form-control form-control-sm" id="tonCnt" name="tonCnt">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
|
|
@ -243,7 +244,7 @@
|
||||||
<select class="form-select form-select-sm" id="fisheryType" name="fisheryType">
|
<select class="form-select form-select-sm" id="fisheryType" name="fisheryType">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="code:${ftList}">
|
<th:block th:each="code:${ftList}">
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${crackdownStatus.fishingBoat.fisheryType}"></option>
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -252,15 +253,15 @@
|
||||||
<select class="form-select form-select-sm" id="boatMaterial" name="boatMaterial">
|
<select class="form-select form-select-sm" id="boatMaterial" name="boatMaterial">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="code:${bmList}">
|
<th:block th:each="code:${bmList}">
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${crackdownStatus.fishingBoat.boatMaterial}"></option>
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label for="boatNnySung" class="col-sm-1 col-form-label col-form-label-sm text-center">선적지</label>
|
<label for="boatNnySung" class="col-sm-1 col-form-label col-form-label-sm text-center">선적지</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm" id="boatNnySung" name="boatNnySung" placeholder="성" th:value="${crackdownStatus.fishingBoat.boatNnySung}">
|
<input type="text" class="form-control form-control-sm" id="boatNnySung" name="boatNnySung" placeholder="성">
|
||||||
<input type="text" class="form-control form-control-sm" id="boatNnySi" name="boatNnySi" placeholder="시" th:value="${crackdownStatus.fishingBoat.boatNnySi}">
|
<input type="text" class="form-control form-control-sm" id="boatNnySi" name="boatNnySi" placeholder="시">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -268,50 +269,50 @@
|
||||||
<label for="offenseType" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물</label>
|
<label for="offenseType" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물</label>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm" id="offenseType" name="offenseType" placeholder="직접입력" th:value="${crackdownStatus.fishingBoat.offenseType}">
|
<input type="text" class="form-control form-control-sm" id="offenseType" name="offenseType">
|
||||||
<input type="text" class="form-control form-control-sm" id="offenseWeight" name="offenseWeight" placeholder="000kg" th:value="${crackdownStatus.fishingBoat.offenseWeight}">
|
<input type="text" class="form-control form-control-sm" id="offenseQty" name="offenseQty" placeholder="kg">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2"></div>
|
<div class="col-sm-2"></div>
|
||||||
<label for="offenseQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 위판량</label>
|
<label for="offenseQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 위판량</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="offenseQuantity" name="offenseQuantity" placeholder="000kg" th:value="${crackdownStatus.fishingBoat.offenseQuantity}">
|
<input type="text" class="form-control form-control-sm" id="offenseQuantity" name="offenseQuantity">
|
||||||
</div>
|
</div>
|
||||||
<label for="offenseAmount" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">범칙물 위판금액</label>
|
<label for="offenseAmount" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">범칙물 위판금액</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="offenseAmount" name="offenseAmount" placeholder="0원" th:value="${crackdownStatus.fishingBoat.offenseAmount}">
|
<input type="text" class="form-control form-control-sm" id="offenseAmount" name="offenseAmount">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="offenseIllegalWasteQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 폐기량</label>
|
<label for="offenseIllegalWasteQuantity" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물 폐기량</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="offenseIllegalWasteQuantity" name="offenseIllegalWasteQuantity" placeholder="000kg" th:value="${crackdownStatus.fishingBoat.offenseIllegalWasteQuantity}">
|
<input type="text" class="form-control form-control-sm" id="offenseIllegalWasteQuantity" name="offenseIllegalWasteQuantity">
|
||||||
</div>
|
</div>
|
||||||
<label for="damboUnpaidAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 미납액</label>
|
<label for="damboUnpaidAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 미납액</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="damboUnpaidAmount" name="damboUnpaidAmount" placeholder="0원" th:value="${crackdownStatus.fishingBoat.damboUnpaidAmount}">
|
<input type="text" class="form-control form-control-sm" id="damboUnpaidAmount" name="damboUnpaidAmount">
|
||||||
</div>
|
</div>
|
||||||
<label for="damboPayment" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 납부액</label>
|
<label for="damboPayment" class="col-sm-1 col-form-label col-form-label-sm text-center">담보금 납부액</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="damboPayment" name="damboPayment" placeholder="0원" th:value="${crackdownStatus.fishingBoat.damboPayment}">
|
<input type="text" class="form-control form-control-sm" id="damboPayment" name="damboPayment">
|
||||||
</div>
|
</div>
|
||||||
<label for="paymentPaymentDt" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label>
|
<label for="paymentPaymentDt" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="paymentPaymentDt" name="paymentPaymentDt" placeholder="0000-00-00" th:value="${crackdownStatus.fishingBoat.paymentPaymentDt}">
|
<input type="text" class="form-control form-control-sm" id="paymentPaymentDt" name="paymentPaymentDt">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label>
|
<label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm" id="confiscationFrame" name="confiscationFrame" placeholder="틀" th:value="${crackdownStatus.fishingBoat.confiscationFrame}">
|
<input type="text" class="form-control form-control-sm" id="confiscationFrame" name="confiscationFrame" placeholder="틀">
|
||||||
<input type="text" class="form-control form-control-sm" id="confiscationWidth" name="confiscationWidth" placeholder="폭" th:value="${crackdownStatus.fishingBoat.confiscationWidth}">
|
<input type="text" class="form-control form-control-sm" id="confiscationWidth" name="confiscationWidth" placeholder="폭">
|
||||||
<input type="text" class="form-control form-control-sm" id="confiscationJo" name="confiscationJo" placeholder="조" th:value="${crackdownStatus.fishingBoat.confiscationJo}">
|
<input type="text" class="form-control form-control-sm" id="confiscationJo" name="confiscationJo" placeholder="조">
|
||||||
<input type="text" class="form-control form-control-sm" id="confiscationGae" name="confiscationGae" placeholder="개" th:value="${crackdownStatus.fishingBoat.confiscationGae}">
|
<input type="text" class="form-control form-control-sm" id="confiscationGae" name="confiscationGae" placeholder="개">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<input type="text" class="form-control form-control-sm" id="confiscationEtc" name="confiscationEtc" placeholder="기타" th:value="${crackdownStatus.fishingBoat.confiscationEtc}">
|
<input type="text" class="form-control form-control-sm" id="confiscationEtc" name="confiscationEtc" placeholder="기타">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -322,23 +323,23 @@
|
||||||
<select class="form-select form-select-sm" id="processStatus" name="processStatus">
|
<select class="form-select form-select-sm" id="processStatus" name="processStatus">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="code:${prList}">
|
<th:block th:each="code:${prList}">
|
||||||
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${crackdownStatus.processResult.processStatus}"></option>
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"></option>
|
||||||
</th:block>
|
</th:block>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<label for="pressurizedTimeTakenDate" class="col-sm-1 col-form-label col-form-label-sm text-center">압송소요시간</label>
|
<label for="pressurizedTimeTakenDate" class="col-sm-1 col-form-label col-form-label-sm text-center">압송소요시간</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="number" class="form-control form-control-sm pressurizedTimeTaken" id="pressurizedTimeTakenDate" placeholder="일" th:value="${crackdownStatus.processResult.pressurizedTimeTaken}">
|
<input type="number" class="form-control form-control-sm pressurizedTimeTaken" id="pressurizedTimeTakenDate" placeholder="일">
|
||||||
<input type="text" class="form-control form-control-sm pressurizedTimeTaken timeSelector" id="pressurizedTimeTakenTime" placeholder="00:00" th:value="${crackdownStatus.processResult.pressurizedTimeTaken}">
|
<input type="text" class="form-control form-control-sm pressurizedTimeTaken timeSelector" id="pressurizedTimeTakenTime" placeholder="00:00">
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="pressurizedTimeTaken" id="pressurizedTimeTaken">
|
<input type="hidden" name="pressurizedTimeTaken" id="pressurizedTimeTaken">
|
||||||
</div>
|
</div>
|
||||||
<label for="warrantReqTakeDate" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">영장청구 소요시간</label>
|
<label for="warrantReqTakeDate" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">영장청구 소요시간</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="number" class="form-control form-control-sm warrantReqTake" id="warrantReqTakeDate" placeholder="일" th:value="${crackdownStatus.processResult.warrantReqTakeTime}">
|
<input type="number" class="form-control form-control-sm warrantReqTake" id="warrantReqTakeDate" placeholder="일">
|
||||||
<input type="text" class="form-control form-control-sm warrantReqTake timeSelector" id="warrantReqTakeTime" placeholder="00:00" th:value="${crackdownStatus.processResult.warrantReqTakeTime}">
|
<input type="text" class="form-control form-control-sm warrantReqTake timeSelector" id="warrantReqTakeTime" placeholder="00:00">
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="warrantReqTakeTime" id="warrantReqTake">
|
<input type="hidden" name="warrantReqTakeTime" id="warrantReqTake">
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -346,50 +347,50 @@
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select class="form-select form-select-sm" id="isIvsgtStop" name="isIvsgtStop">
|
<select class="form-select form-select-sm" id="isIvsgtStop" name="isIvsgtStop">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<option value="O">O</option>
|
<option value="O">선택</option>
|
||||||
<option value="X">X</option>
|
<option value="X">선택</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="evictionDt" class="col-sm-1 col-form-label col-form-label-sm text-center">퇴거일</label>
|
<label for="evictionDt" class="col-sm-1 col-form-label col-form-label-sm text-center">퇴거일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="evictionDt" name="evictionDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.evictionDt}">
|
<input type="text" class="form-control form-control-sm dateSelector" id="evictionDt" name="evictionDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="directHandoverDt" class="col-sm-1 col-form-label col-form-label-sm text-center">직접인계일</label>
|
<label for="directHandoverDt" class="col-sm-1 col-form-label col-form-label-sm text-center">직접인계일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateTimeSelector" id="directHandoverDt" name="directHandoverDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.directHandoverDt}">
|
<input type="text" class="form-control form-control-sm dateTimeSelector" id="directHandoverDt" name="directHandoverDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="handoverSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 해점</label>
|
<label for="handoverSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 해점</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm" id="handoverSeaPointLon" name="handoverSeaPointLon" placeholder="00-00.00N" th:value="${crackdownStatus.processResult.handoverSeaPointLon}">
|
<input type="text" class="form-control form-control-sm" id="handoverSeaPointLon" name="handoverSeaPointLon" placeholder="00-00.00N">
|
||||||
<input type="text" class="form-control form-control-sm" id="handoverSeaPointLat" name="handoverSeaPointLat" placeholder="000-00.00E" th:value="${crackdownStatus.processResult.handoverSeaPointLat}">
|
<input type="text" class="form-control form-control-sm" id="handoverSeaPointLat" name="handoverSeaPointLat" placeholder="000-00.00E">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="handoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 함정</label>
|
<label for="handoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 함정</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="handoverBoat" name="handoverBoat" th:value="${crackdownStatus.processResult.handoverBoat}">
|
<input type="text" class="form-control form-control-sm" id="handoverBoat" name="handoverBoat">
|
||||||
</div>
|
</div>
|
||||||
<label for="middleTakeoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">중측 인수함정</label>
|
<label for="middleTakeoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">중측 인수함정</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="middleTakeoverBoat" name="middleTakeoverBoat" th:value="${crackdownStatus.processResult.middleTakeoverBoat}">
|
<input type="text" class="form-control form-control-sm" id="middleTakeoverBoat" name="middleTakeoverBoat">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<!--<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="materialDamageDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">물적피해</label>
|
<label for="materialDamageDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">물적피해</label>
|
||||||
<div class="col-sm-10 border p-2" id="materialDamageDiv">
|
<div class="col-sm-10 border p-2" id="materialDamageDiv">
|
||||||
<div class="row mb-1">
|
<div class="row mb-1">
|
||||||
<label for="materialDamageCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">발생건수</label>
|
<label for="materialDamageCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">발생건수</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="materialDamageCnt" name="materialDamageCnt" placeholder="0건">
|
<input type="text" class="form-control form-control-sm" id="materialDamageCnt" name="materialDamageCnt">
|
||||||
</div>
|
</div>
|
||||||
<label for="materialDamageAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">피해액</label>
|
<label for="materialDamageAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">피해액</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="materialDamageAmount" name="materialDamageAmount" placeholder="0원">
|
<input type="text" class="form-control form-control-sm" id="materialDamageAmount" name="materialDamageAmount">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
@ -406,15 +407,15 @@
|
||||||
<div class="row mb-1">
|
<div class="row mb-1">
|
||||||
<label for="obstrExspdCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">발생건수</label>
|
<label for="obstrExspdCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">발생건수</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="obstrExspdCnt" name="obstrExspdCnt" placeholder="0건">
|
<input type="text" class="form-control form-control-sm" id="obstrExspdCnt" name="obstrExspdCnt">
|
||||||
</div>
|
</div>
|
||||||
<label for="personDamageCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">피해인원</label>
|
<label for="personDamageCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">피해인원</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="personDamageCnt" name="personDamageCnt" placeholder="0인">
|
<input type="text" class="form-control form-control-sm" id="personDamageCnt" name="personDamageCnt">
|
||||||
</div>
|
</div>
|
||||||
<label for="personDamageAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">피해액</label>
|
<label for="personDamageAmount" class="col-sm-1 col-form-label col-form-label-sm text-center">피해액</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="personDamageAmount" name="personDamageAmount" placeholder="0원">
|
<input type="text" class="form-control form-control-sm" id="personDamageAmount" name="personDamageAmount">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
@ -425,25 +426,25 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>-->
|
<hr>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="consignmentStartDt" class="col-sm-1 col-form-label col-form-label-sm text-center">위탁시작일</label>
|
<label for="consignmentStartDt" class="col-sm-1 col-form-label col-form-label-sm text-center">위탁시작일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="consignmentStartDt" name="consignmentStartDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.consignmentStartDt}">
|
<input type="text" class="form-control form-control-sm dateSelector" id="consignmentStartDt" name="consignmentStartDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="consignmentEndDt" class="col-sm-1 col-form-label col-form-label-sm text-center">위탁종료일</label>
|
<label for="consignmentEndDt" class="col-sm-1 col-form-label col-form-label-sm text-center">위탁종료일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="consignmentEndDt" name="consignmentEndDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.consignmentEndDt}">
|
<input type="text" class="form-control form-control-sm dateSelector" id="consignmentEndDt" name="consignmentEndDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="confiscationDt" class="col-sm-1 col-form-label col-form-label-sm text-center">몰수확정일</label>
|
<label for="confiscationDt" class="col-sm-1 col-form-label col-form-label-sm text-center">몰수확정일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="confiscationDt" name="confiscationDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.confiscationDt}">
|
<input type="text" class="form-control form-control-sm dateSelector" id="confiscationDt" name="confiscationDt">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label for="boatDisposalDt" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선일</label>
|
<label for="boatDisposalDt" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="boatDisposalDt" name="boatDisposalDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.boatDisposalDt}">
|
<input type="text" class="form-control form-control-sm" id="boatDisposalDt" name="boatDisposalDt">
|
||||||
</div>
|
</div>
|
||||||
<label for="boatDisposalType" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선종류</label>
|
<label for="boatDisposalType" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선종류</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
|
|
@ -456,7 +457,7 @@
|
||||||
</div>
|
</div>
|
||||||
<label for="returnDt" class="col-sm-1 col-form-label col-form-label-sm text-center">환부일</label>
|
<label for="returnDt" class="col-sm-1 col-form-label col-form-label-sm text-center">환부일</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="returnDt" name="returnDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.returnDt}">
|
<input type="text" class="form-control form-control-sm" id="returnDt" name="returnDt">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
|
|
@ -484,49 +485,15 @@
|
||||||
<option value="X">X</option>
|
<option value="X">X</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<label for="sailorRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">선원구속</label>
|
||||||
<div class="mb-3 row">
|
|
||||||
<label for="normalSailorRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">
|
|
||||||
선원구속
|
|
||||||
<i class="bi bi-plus-square text-primary" id="sailorAddBtn"></i>
|
|
||||||
</label>
|
|
||||||
<div class="col-sm-10 row" id="sailorRestrictionDiv">
|
|
||||||
<div class="col-4">
|
|
||||||
<div class="input-group w-auto">
|
|
||||||
<select class="form-select form-select-sm isRestriction" id="normalSailorRestriction">
|
|
||||||
<option value="">선택</option>
|
|
||||||
<option value="O">O</option>
|
|
||||||
<option value="X">X</option>
|
|
||||||
</select>
|
|
||||||
<input type="text" class="form-control form-control-sm" id="normalSailor" placeholder="이름">
|
|
||||||
<button type="button" class="btn btn-sm btn-outline-secondary opacity-50 sailorRemoveBtn">
|
|
||||||
<i class="bi bi-dash-square text-danger"></i>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="mb-3 row">
|
|
||||||
<label for="exileCnt" class="col-sm-1 col-form-label col-form-label-sm text-center">추방인원</label>
|
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input type="text" class="form-control form-control-sm" id="exileCnt" name="exileCnt" placeholder="00명" th:value="${crackdownStatus.processResult.exileCnt}">
|
|
||||||
</div>
|
|
||||||
<label for="exileDt" class="col-sm-1 col-form-label col-form-label-sm text-center">추방일</label>
|
|
||||||
<div class="col-sm-2">
|
|
||||||
<input type="text" class="form-control form-control-sm dateSelector" id="exileDt" name="exileDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.exileDt}">
|
|
||||||
</div>
|
|
||||||
<label for="flight" class="col-sm-1 col-form-label col-form-label-sm text-center">항공편</label>
|
|
||||||
<div class="col-sm-2">
|
|
||||||
<input type="text" class="form-control form-control-sm" id="flight" name="flight" th:value="${crackdownStatus.processResult.flight}">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row mb-3">
|
|
||||||
<label for="immigrationOfficeName" class="col-sm-1 col-form-label col-form-label-sm text-center">출입국 담당자</label>
|
|
||||||
<div class="col-sm-4">
|
|
||||||
<div class="input-group w-auto">
|
<div class="input-group w-auto">
|
||||||
<input type="text" class="form-control form-control-sm" id="immigrationOfficeName" name="immigrationOfficeName" placeholder="사무소명" th:value="${crackdownStatus.processResult.immigrationOfficeName}">
|
<select class="form-select form-select-sm" id="sailorRestriction">
|
||||||
<input type="text" class="form-control form-control-sm" id="immigrationOfficeOfficerName" name="immigrationOfficeOfficerName" placeholder="이름" th:value="${crackdownStatus.processResult.immigrationOfficeOfficerName}">
|
<option value="">선택</option>
|
||||||
<input type="text" class="form-control form-control-sm" id="immigrationOfficeOfficerContact" name="immigrationOfficeOfficerContact" placeholder="연락처" th:value="${crackdownStatus.processResult.immigrationOfficeOfficerContact}">
|
<option value="O">O</option>
|
||||||
|
<option value="X">X</option>
|
||||||
|
</select>
|
||||||
|
<input type="text" class="form-control form-control-sm" id="sailorRestrictionCnt" name="sailorRestrictionCnt" placeholder="인원수">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue