요구사항 작업중.

master
강석 최 2023-01-11 12:15:54 +09:00
parent 56f77c7170
commit d952956bce
10 changed files with 38 additions and 35 deletions

View File

@ -29,7 +29,7 @@ public interface FipTargetMapper {
List<PartInfo> selectPartInfoSeq(PartInfo partInfo); List<PartInfo> selectPartInfoSeq(PartInfo partInfo);
String selectPartInfoFirstId(Integer piSeq); Integer selectPartInfoFirstId(Integer piSeq);
List<ParamMap> selectTerminalName(PartWork partWork); List<ParamMap> selectTerminalName(PartWork partWork);

View File

@ -40,9 +40,9 @@ public class ShipInfo extends BaseModel implements Serializable{
@Column(name = "end_point") @Column(name = "end_point")
private String endPoint; private String endPoint;
@Column(name = "distance_nm") @Column(name = "distance_nm")
private String distanceNm; private Double distanceNm;
@Column(name = "distance_km") @Column(name = "distance_km")
private String distanceKm; private Double distanceKm;
@Column(name = "owner_nm") @Column(name = "owner_nm")
private String ownerNm; private String ownerNm;
@Column(name = "ship_nm") @Column(name = "ship_nm")

View File

@ -219,7 +219,7 @@ public class FipTargetService extends BaseService {
return partInfoFileRepository.findById(new PartInfoFileId(fileSeq, piSeq,versionNo)).orElse(null); return partInfoFileRepository.findById(new PartInfoFileId(fileSeq, piSeq,versionNo)).orElse(null);
} }
public String selectPartInfoFirstId(PartInfo partInfo) { public Integer selectPartInfoFirstId(PartInfo partInfo) {
return fipTargetMapper.selectPartInfoFirstId(partInfo.getPiSeq()); return fipTargetMapper.selectPartInfoFirstId(partInfo.getPiSeq());
} }

View File

@ -255,8 +255,8 @@
order by version_no desc order by version_no desc
</select> </select>
<select id="selectPartInfoFirstId" resultType="String" parameterType="int"> <select id="selectPartInfoFirstId" resultType="int" parameterType="int">
select wrt_user_seq select wrt_user_seq
from part_info from part_info
where pi_seq = #{piSeq} where pi_seq = #{piSeq}
order by version_no asc order by version_no asc
@ -390,7 +390,7 @@
<foreach collection="downOrganCdList" item="item" index="index" separator="," open="(" close=")"> <foreach collection="downOrganCdList" item="item" index="index" separator="," open="(" close=")">
#{item} #{item}
</foreach> </foreach>
order by item_cd asc order by cm.order_num, cm.item_cd asc
</select> </select>
<select id="selectVulnerableList" resultType="com.dbnt.faisp.util.ParamMap" parameterType="Vulnerable"> <select id="selectVulnerableList" resultType="com.dbnt.faisp.util.ParamMap" parameterType="Vulnerable">

View File

@ -10,8 +10,8 @@
<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}"/>
<div class="row justify-content-between"> <div class="row justify-content-between">
<div class="col-auto"><h4>휴대용 녹화장비 사용대장</h4></div> <div class="col-auto"><h4>휴대용 영상녹화장비 사용대장</h4></div>
<div class="col-auto"><p class="mb-0 mt-2">외사장비 > 휴대용 녹화장비 사용대장</p></div> <div class="col-auto"><p class="mb-0 mt-2">외사장비 > 휴대용 영상녹화장비 사용대장</p></div>
</div> </div>
<div class="row mx-0"> <div class="row mx-0">
<div class="col-12 card bg-light text-center"> <div class="col-12 card bg-light text-center">

View File

@ -63,11 +63,11 @@
<div class="row my-1"> <div class="row my-1">
<label for="distanceNm" class="col-sm-2 col-form-label col-form-label-sm text-center">거리(해리)</label> <label for="distanceNm" 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" id="distanceNm" name="distanceNm" placeholder="ex:OOO해리"> <input type="number" min="0" class= "form-control form-control-sm" id="distanceNm" name="distanceNm" placeholder="ex:OOO해리">
</div> </div>
<label for="distanceKm" class="col-sm-2 col-form-label col-form-label-sm text-center">거리(KM)</label> <label for="distanceKm" class="col-sm-2 col-form-label col-form-label-sm text-center">거리(KM)</label>
<div class="col-sm-4"> <div class="col-sm-4">
<input type="text" class= "form-control form-control-sm" id="distanceKm" name="distanceKm" placeholder="ex:OOOKm"> <input type="number" min="0" class= "form-control form-control-sm" id="distanceKm" name="distanceKm" placeholder="ex:OOOKm">
</div> </div>
</div> </div>
</div> </div>

View File

@ -98,23 +98,19 @@
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
<tr class="shipInfoTr" th:each="si:${shipInfoList}"> <tr class="shipInfoTr" th:each="si:${shipInfoList}">
<th:block> <input type="hidden" class="siSeq" th:value="${si.siSeq}">
<input type="hidden" class="siSeq" th:value="${si.siSeq}"> <input type="hidden" class="siType" th:value="${si.siType}">
<input type="hidden" class="siType" th:value="${si.siType}"> <input type="hidden" class="verNo" th:value="${si.versionNo}">
<input type="hidden" class="verNo" th:value="${si.versionNo}"> <td>
</th:block> <div th:text="|${si.startPoint}/${si.endPoint}|"></div>
<td th:inline="text"> <div th:text="|(${si.distanceNm}해리,${si.distanceKm}km)|"></div>
[[${si.startPoint}]]/[[${si.endPoint}]]
<br/>
([[${si.distanceNm}]],[[${si.distanceKm}]])
</td> </td>
<td th:text="${si.ownerNm}"></td> <td th:text="${si.ownerNm}"></td>
<td th:text="${si.shipNm}"></td> <td th:text="${si.shipNm}"></td>
<td th:text="${si.weightStr}"></td> <td th:text="${si.weightStr}"></td>
<td th:inline="text"> <td>
여객:[[${si.passengerCnt}]]명 <div th:text="|여객: ${si.passengerCnt}명|"></div>
<br/> <div th:text="|화물: ${si.freightCnt}TEU|"></div>
화물:[[${si.freightCnt}]]TEU
</td> </td>
<td th:text="${si.operationCnt}"></td> <td th:text="${si.operationCnt}"></td>
<td th:text="${si.closeYn}"></td> <td th:text="${si.closeYn}"></td>

View File

@ -28,7 +28,7 @@
</select> </select>
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="number" class="form-control form-control-sm" id="rentPrice" name="rentPrice" placeholder="단위: 만"> <input type="number" class="form-control form-control-sm" id="rentPrice" name="rentPrice" placeholder="단위: 만/年">
</div> </div>
<label for="utilityType" class="col-sm-2 col-form-label col-form-label-sm text-center">공공요금</label> <label for="utilityType" class="col-sm-2 col-form-label col-form-label-sm text-center">공공요금</label>
<div class="col-sm-2"> <div class="col-sm-2">
@ -39,7 +39,7 @@
</select> </select>
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="number" class="form-control form-control-sm" id="utilityPrice" name="utilityPrice" placeholder="단위: 만"> <input type="number" class="form-control form-control-sm" id="utilityPrice" name="utilityPrice" placeholder="단위: 만/年">
</div> </div>
</div> </div>
</div> </div>

View File

@ -8,8 +8,8 @@
<div layout:fragment="content"> <div layout:fragment="content">
<main> <main>
<div class="row justify-content-between"> <div class="row justify-content-between">
<div class="col-auto"><h4>외사 분실 현황</h4></div> <div class="col-auto"><h4>외사분실 운영현황</h4></div>
<div class="col-auto"><p class="mb-0 mt-2">외사대상목표 > 외사분실 > 외사분실운영현황</p></div> <div class="col-auto"><p class="mb-0 mt-2">외사대상목표 > 외사분실 > 외사분실 운영현황</p></div>
</div> </div>
<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}"/>
@ -137,9 +137,9 @@
<td th:text="|${pi.plPeopleCnt eq null?0:pi.plPeopleCnt}명|"></td> <td th:text="|${pi.plPeopleCnt eq null?0:pi.plPeopleCnt}명|"></td>
<td th:text="${pi.plDescription}"></td> <td th:text="${pi.plDescription}"></td>
<td th:text="${pi.piManagerName}"></td> <td th:text="${pi.piManagerName}"></td>
<td th:text="|${pi.rentPrice}만|" th:if="${pi.rentType eq 'Y'}"></td> <td th:if="${pi.rentType eq 'Y'}" th:text="|${pi.rentPrice}만/年|"></td>
<td th:unless="${pi.rentType eq 'Y'}">무상</td> <td th:unless="${pi.rentType eq 'Y'}">무상</td>
<td th:text="|${pi.utilityPrice}만|" th:if="${pi.utilityType eq 'Y'}"></td> <td th:if="${pi.utilityType eq 'Y'}" th:text="|${pi.utilityPrice}만/年|"></td>
<td th:unless="${pi.utilityType eq 'Y'}">무상</td> <td th:unless="${pi.utilityType eq 'Y'}">무상</td>
<td th:text="${#temporals.format(pi.wrtDt, 'yyyy-MM-dd')}"></td> <td th:text="${#temporals.format(pi.wrtDt, 'yyyy-MM-dd')}"></td>
</tr> </tr>
@ -152,18 +152,22 @@
<th:block th:if="${not #strings.isEmpty(total)}"> <th:block th:if="${not #strings.isEmpty(total)}">
<th th:text="|상주 ${total.mp_sangju}개소 ${total.mp_sangju_total}명|"></th> <th th:text="|상주 ${total.mp_sangju}개소 ${total.mp_sangju_total}명|"></th>
<th th:text="|비상주 ${total.mp_bsangju}개소 ${total.mp_bsangju_total}명|"></th> <th th:text="|비상주 ${total.mp_bsangju}개소 ${total.mp_bsangju_total}명|"></th>
<th th:text="|폐쇄 ${total.mp_closure}개소 ${total.mp_closure_total}명|"></th> <!--<th th:text="|폐쇄 ${total.mp_closure}개소 ${total.mp_closure_total}명|"></th>-->
<th></th>
<th th:text="|상주 ${total.pl_sangju}개소 ${total.pl_sangju_total}명|"></th> <th th:text="|상주 ${total.pl_sangju}개소 ${total.pl_sangju_total}명|"></th>
<th th:text="|비상주 ${total.pl_bsangju}개소 ${total.pl_bsangju_total}명|"></th> <th th:text="|비상주 ${total.pl_bsangju}개소 ${total.pl_bsangju_total}명|"></th>
<th th:text="|폐쇄 ${total.pl_closure}개소 ${total.pl_closure_total}명|"></th> <!--<th th:text="|폐쇄 ${total.pl_closure}개소 ${total.pl_closure_total}명|"></th>-->
<th></th>
</th:block> </th:block>
<th:block th:unless="${not #strings.isEmpty(total)}"> <th:block th:unless="${not #strings.isEmpty(total)}">
<th>상주 0개소 0명</th> <th>상주 0개소 0명</th>
<th>비상주 0개소 0명</th> <th>비상주 0개소 0명</th>
<th>폐쇄 0개소 0명</th> <!--<th>폐쇄 0개소 0명</th>-->
<th></th>
<th>상주 0개소 0명</th> <th>상주 0개소 0명</th>
<th>비상주 0개소 0명</th> <th>비상주 0개소 0명</th>
<th>폐쇄 0개소 0명</th> <!--<th>폐쇄 0개소 0명</th>-->
<th></th>
</th:block> </th:block>
<th></th> <th></th>
<th></th> <th></th>

View File

@ -32,7 +32,10 @@
</th:block> </th:block>
</th:block>--> </th:block>-->
<th:block th:each="organ:${organList}"> <th:block th:each="organ:${organList}">
<option th:value="${organ.itemCd}" th:text="${organ.itemValue}" th:selected="${organ.itemCd eq info.mgtOrgan}"></option> <th:block th:if="${!(organ.itemCd eq 'OG027' or organ.itemCd eq 'OG028')}">
<!--서특단, 중특단 노출제외-->
<option th:value="${organ.itemCd}" th:text="${organ.itemValue}" th:selected="${organ.itemCd eq info.mgtOrgan}"></option>
</th:block>
</th:block> </th:block>
</select> </select>
</div> </div>