Browse Source

컬럼 변경

SH 2 weeks ago
parent
commit
8df295d902

+ 1 - 1
src/main/java/sgc/portal/cw/cw0806/model/CW08060001U.java

@@ -11,7 +11,7 @@ import java.util.Date;
 public class CW08060001U extends Domain {
 public class CW08060001U extends Domain {
 
 
     private String location;
     private String location;
-    private String hAmt;
+    private String amtH;
     private String sumE;
     private String sumE;
     private String sumS;
     private String sumS;
     private String sumG;
     private String sumG;

+ 5 - 5
src/main/resources/sqlmap/mappers/cw/cw0806/CW08060001UMapper.xml

@@ -5,16 +5,16 @@
      <select id="getList" resultType="easyHashMap">
      <select id="getList" resultType="easyHashMap">
 
 
 SELECT DECODE(LOCATION_ID, 18, '지하1층', 20, '본관7층', '')||' '|| BUNHO AS LOCATION
 SELECT DECODE(LOCATION_ID, 18, '지하1층', 20, '본관7층', '')||' '|| BUNHO AS LOCATION
-		, H_AMT
+		, AMT_H
 		, SUM_E
 		, SUM_E
 		, SUM_S
 		, SUM_S
-		, FLOOR(SUM_S*H_AMT) AS AMT_S
+		, FLOOR(SUM_S*AMT_H) AS AMT_S
 		, SUM_G
 		, SUM_G
-		, FLOOR(SUM_G*H_AMT) AS AMT_G
+		, FLOOR(SUM_G*AMT_H) AS AMT_G
 FROM (		
 FROM (		
 		SELECT B.LOCATION_ID
 		SELECT B.LOCATION_ID
 				, B.BUNHO
 				, B.BUNHO
-				, C.H_AMT
+				, C.AMT_H
 			, SUM(T070CNTE+T073CNTE
 			, SUM(T070CNTE+T073CNTE
 				  +T080CNTE+T083CNTE
 				  +T080CNTE+T083CNTE
 				  +T090CNTE+T093CNTE
 				  +T090CNTE+T093CNTE
@@ -171,7 +171,7 @@ FROM (
 	AND C.SEQ = D.SEQ
 	AND C.SEQ = D.SEQ
 	AND #{ym} BETWEEN D.YM_START AND D.YM_END
 	AND #{ym} BETWEEN D.YM_START AND D.YM_END
 	AND B.VISIBLE_YN = 'Y'
 	AND B.VISIBLE_YN = 'Y'
-	GROUP BY SUBSTR(RE_YYYYMMDD,1,6), B.LOCATION_ID, B.BUNHO, C.H_AMT
+	GROUP BY SUBSTR(RE_YYYYMMDD,1,6), B.LOCATION_ID, B.BUNHO, C.AMT_H
 )
 )
 ORDER BY LOCATION_ID DESC, BUNHO
 ORDER BY LOCATION_ID DESC, BUNHO
     </select>
     </select>

+ 3 - 3
src/main/webapp/ux/cw/cw0806/CW08060001U.xml

@@ -28,7 +28,7 @@
 					<w2:columnInfo>
 					<w2:columnInfo>
 						<w2:column id="ym" name="년월" dataType="text"></w2:column>
 						<w2:column id="ym" name="년월" dataType="text"></w2:column>
 						<w2:column id="location" name="회의실" dataType="text"></w2:column>
 						<w2:column id="location" name="회의실" dataType="text"></w2:column>
-						<w2:column id="hAmt" name="시간당이용료(원)" dataType="text"></w2:column>
+						<w2:column id="amtH" name="시간당이용료(원)" dataType="text"></w2:column>
 						<w2:column id="sumE" name="이앤씨_이용시간" dataType="text"></w2:column>
 						<w2:column id="sumE" name="이앤씨_이용시간" dataType="text"></w2:column>
 						<w2:column id="sumS" name="솔루션_이용시간" dataType="text"></w2:column>
 						<w2:column id="sumS" name="솔루션_이용시간" dataType="text"></w2:column>
 						<w2:column id="amtS" name="솔루션_총금액" dataType="text"></w2:column>
 						<w2:column id="amtS" name="솔루션_총금액" dataType="text"></w2:column>
@@ -267,7 +267,7 @@
 								<w2:column removeBorderStyle="false" width="150" inputType="text" id="location" value="회의실" blockSelect="false"
 								<w2:column removeBorderStyle="false" width="150" inputType="text" id="location" value="회의실" blockSelect="false"
 									displayMode="label" rowSpan="2">
 									displayMode="label" rowSpan="2">
 								</w2:column>
 								</w2:column>
-								<w2:column removeBorderStyle="false" width="100" inputType="text" id="hAmt" value="시간당&lt;br/&gt;이용금액 (원)" blockSelect="false"
+								<w2:column removeBorderStyle="false" width="100" inputType="text" id="amtH" value="시간당&lt;br/&gt;이용금액 (원)" blockSelect="false"
 									displayMode="label" rowSpan="2">
 									displayMode="label" rowSpan="2">
 								</w2:column>
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="100" inputType="text" id="sumE" value="이앤씨" blockSelect="false"
 								<w2:column removeBorderStyle="false" width="100" inputType="text" id="sumE" value="이앤씨" blockSelect="false"
@@ -303,7 +303,7 @@
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="location" blockSelect="false"
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="location" blockSelect="false"
 									displayMode="label" readOnly="true">
 									displayMode="label" readOnly="true">
 								</w2:column>
 								</w2:column>
-								<w2:column removeBorderStyle="false" width="70" inputType="text" id="hAmt" blockSelect="false"
+								<w2:column removeBorderStyle="false" width="70" inputType="text" id="amtH" blockSelect="false"
 									displayMode="label" readOnly="true" displayFormat="###,###">
 									displayMode="label" readOnly="true" displayFormat="###,###">
 								</w2:column>
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="sumE" blockSelect="false"
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="sumE" blockSelect="false"