이월금액 조회, 메뉴 수정

This commit is contained in:
USER
2022-08-10 16:43:10 +09:00
parent 533c09c920
commit 433682ecb8
13 changed files with 71 additions and 29 deletions

View File

@@ -36,7 +36,7 @@
<select name="" id="" v-model="blckTpCd"> <select name="" id="" v-model="blckTpCd">
<option value="" selected>전체</option> <option value="" selected>전체</option>
<option value="01">발신번호차단</option> <option value="01">발신번호차단</option>
<option value="02">메시지차단</option> <!-- <option value="02">메시지차단</option> -->
<option value="03">080수신번호차단</option> <option value="03">080수신번호차단</option>
</select> </select>
</div> </div>

View File

@@ -130,11 +130,11 @@
<label for="right_check13"></label> <label for="right_check13"></label>
<label for="right_check13">080수신번호 차단</label> <label for="right_check13">080수신번호 차단</label>
</div> </div>
<input type="checkbox" id="right_check14" value="2014" v-model="checkedAuthMenu"> <!-- <input type="checkbox" id="right_check14" value="2014" v-model="checkedAuthMenu">
<div class="label_group"> <div class="label_group">
<label for="right_check14"></label> <label for="right_check14"></label>
<label for="right_check14">메시지 차단</label> <label for="right_check14">메시지 차단</label>
</div> </div> -->
<input type="checkbox" id="right_check15" value="2015" v-model="checkedAuthMenu"> <input type="checkbox" id="right_check15" value="2015" v-model="checkedAuthMenu">
<div class="label_group"> <div class="label_group">
<label for="right_check15"></label> <label for="right_check15"></label>
@@ -197,7 +197,7 @@ export default {
authCd: "", authCd: "",
authDesc: "", authDesc: "",
stat: "01", // 등록화면 상태 Default 값 지정(사용:01) stat: "01", // 등록화면 상태 Default 값 지정(사용:01)
defaultAuthMenu: ["2001", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019"], defaultAuthMenu: ["2001", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2015", "2016", "2017", "2018", "2019"],
checkedAuthMenu: [], checkedAuthMenu: [],
channelAuth: "", channelAuth: "",
}; };

View File

@@ -130,11 +130,11 @@
<label for="right_check13"></label> <label for="right_check13"></label>
<label for="right_check13">080수신번호 차단</label> <label for="right_check13">080수신번호 차단</label>
</div> </div>
<input type="checkbox" id="right_check14" value="2014" v-model="checkedAuthMenu"> <!-- <input type="checkbox" id="right_check14" value="2014" v-model="checkedAuthMenu">
<div class="label_group"> <div class="label_group">
<label for="right_check14"></label> <label for="right_check14"></label>
<label for="right_check14">메시지 차단</label> <label for="right_check14">메시지 차단</label>
</div> </div> -->
<input type="checkbox" id="right_check15" value="2015" v-model="checkedAuthMenu"> <input type="checkbox" id="right_check15" value="2015" v-model="checkedAuthMenu">
<div class="label_group"> <div class="label_group">
<label for="right_check15"></label> <label for="right_check15"></label>
@@ -197,7 +197,7 @@ export default {
authCd: "", authCd: "",
authDesc: "", authDesc: "",
stat: "", stat: "",
defaultAuthMenu: ["2001", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019"], defaultAuthMenu: ["2001", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2015", "2016", "2017", "2018", "2019"],
checkedAuthMenu: [], checkedAuthMenu: [],
channelAuth: "", channelAuth: "",
}; };

View File

@@ -41,6 +41,10 @@ public class CustMgtService {
@Autowired @Autowired
private HubeasyApiComponents hubeasyApi; private HubeasyApiComponents hubeasyApi;
@Value("${limitCnt: 12}")
private int limitCnt;
/** /**
* 요금제. * 요금제.
*/ */
@@ -269,6 +273,7 @@ public class CustMgtService {
CustMgtMapper custMgtMapper = sqlSessionSlave.getMapper(CustMgtMapper.class); CustMgtMapper custMgtMapper = sqlSessionSlave.getMapper(CustMgtMapper.class);
// 이월 금액 조회. // 이월 금액 조회.
carryOverListReqDto.setLimitCnt(limitCnt);
List<CarryOver> carryOvers = custMgtMapper.selectCarryOverList(carryOverListReqDto); List<CarryOver> carryOvers = custMgtMapper.selectCarryOverList(carryOverListReqDto);
// 조회 결과 없음. // 조회 결과 없음.

View File

@@ -12,4 +12,8 @@ public class CarryOverListReqDto implements Serializable {
@ApiModelProperty(example = "서비스ID", name = "서비스ID", dataType = "String") @ApiModelProperty(example = "서비스ID", name = "서비스ID", dataType = "String")
private String serviceId; private String serviceId;
/** 조회개수 */
@ApiModelProperty(hidden = true)
private int limitCnt;
} }

View File

@@ -18,6 +18,7 @@ import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartHttpServletRequest; import org.springframework.web.multipart.MultipartHttpServletRequest;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid; import javax.validation.Valid;
@@ -196,4 +197,8 @@ public class SendNumMgtController {
return sendNumService.updateAppr(updateApprReqDto); return sendNumService.updateAppr(updateApprReqDto);
} }
/** 제출 서류 다운로드 */
public void downloadDoc(HttpServletRequest request, HttpServletResponse response, InsertNumberFile docFile) {
sendNumService.downloadDoc(request, response, docFile);
}
} }

View File

@@ -24,6 +24,9 @@ import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Service @Service
public class SendNumMgtService { public class SendNumMgtService {
@@ -320,6 +323,14 @@ public class SendNumMgtService {
return new InsertNumberResDto(ApiResponseCode.SUCCESS, insertNumberRes); return new InsertNumberResDto(ApiResponseCode.SUCCESS, insertNumberRes);
} }
// 다운로트 제출서류
public void downloadDoc(HttpServletRequest request, HttpServletResponse response, InsertNumberFile docFile) {
String fileName = "";
//FileUtil.download(request, response, sendNumUploadPath, fileName);
}
/** /**
* date : 2022. 4. 25. * date : 2022. 4. 25.
* auth : ckr * auth : ckr
@@ -512,4 +523,6 @@ public class SendNumMgtService {
return new UpdateApprResDto(ApiResponseCode.SUCCESS); return new UpdateApprResDto(ApiResponseCode.SUCCESS);
} }
} }

View File

@@ -73,3 +73,6 @@ file-resource:
sendMsg: sendMsg:
tableNm: EZ_MSG_REAL tableNm: EZ_MSG_REAL
# 한도 개월 수
limitCnt: 12

View File

@@ -73,3 +73,6 @@ file-resource:
sendMsg: sendMsg:
tableNm: EZ_MSG_NORMAL tableNm: EZ_MSG_NORMAL
# 한도 개월 수
limitCnt: 12

View File

@@ -73,3 +73,6 @@ file-resource:
sendMsg: sendMsg:
tableNm: EZ_MSG_NORMAL tableNm: EZ_MSG_NORMAL
# 한도 개월 수
limitCnt: 12

View File

@@ -73,3 +73,6 @@ file-resource:
sendMsg: sendMsg:
tableNm: EZ_MSG_NORMAL tableNm: EZ_MSG_NORMAL
# 한도 개월 수
limitCnt: 12

View File

@@ -5,7 +5,7 @@
<select id="getMenuByRole" parameterType="string" resultType="kr.co.uplus.ez.api.comm.dto.Menu"> <select id="getMenuByRole" parameterType="string" resultType="kr.co.uplus.ez.api.comm.dto.Menu">
/* comm-mapper.xml(getMenuByRole) */ /* comm-mapper.xml(getMenuByRole) */
select eam2.MENU_NO as menuNo SELECT eam2.MENU_NO as menuNo
, null as prntsMenuNo , null as prntsMenuNo
, eam2.MENU_NM as menuNm , eam2.MENU_NM as menuNm
, eam2.MENU_ODRG as menuOdrg , eam2.MENU_ODRG as menuOdrg
@@ -13,14 +13,15 @@
, eam2.AUTCHK_GRPNO as autchkGrpno , eam2.AUTCHK_GRPNO as autchkGrpno
, eam2.MENU_LVL as menuLvl , eam2.MENU_LVL as menuLvl
, eam2.MENU_URL as menuUrl , eam2.MENU_URL as menuUrl
from hubez_admin.EZ_ADM_AUTMENU eaa FROM hubez_admin.EZ_ADM_AUTMENU eaa
inner join hubez_admin.EZ_ADM_MENU eam INNER JOIN hubez_admin.EZ_ADM_MENU eam
on eam.MENU_NO = eaa.MENU_NO on eam.MENU_NO = eaa.MENU_NO
inner join hubez_admin.EZ_ADM_MENU eam2 INNER JOIN hubez_admin.EZ_ADM_MENU eam2
on eam2.MENU_NO = eam.PRNTS_MENU_NO ON eam2.MENU_NO = eam.PRNTS_MENU_NO
where AUT_CD = #{role} WHERE AUT_CD = #{role}
AND eam.USE_YN = 'Y'
UNION UNION
select eam.MENU_NO as menuNo SELECT eam.MENU_NO as menuNo
, eam.PRNTS_MENU_NO as prntsMenuNo , eam.PRNTS_MENU_NO as prntsMenuNo
, eam.MENU_NM as menuNm , eam.MENU_NM as menuNm
, eam.MENU_ODRG as menuOdrg , eam.MENU_ODRG as menuOdrg
@@ -28,12 +29,14 @@
, eam.AUTCHK_GRPNO as autchkGrpno , eam.AUTCHK_GRPNO as autchkGrpno
, eam.MENU_LVL as menuLvl , eam.MENU_LVL as menuLvl
, eam.MENU_URL as menuUrl , eam.MENU_URL as menuUrl
from hubez_admin.EZ_ADM_AUTMENU eaa FROM hubez_admin.EZ_ADM_AUTMENU eaa
inner join hubez_admin.EZ_ADM_MENU eam INNER JOIN hubez_admin.EZ_ADM_MENU eam
on eam.MENU_NO = eaa.MENU_NO ON eam.MENU_NO = eaa.MENU_NO
inner join hubez_admin.EZ_ADM_MENU eam2 INNER JOIN hubez_admin.EZ_ADM_MENU eam2
on eam2.MENU_NO = eam.PRNTS_MENU_NO ON eam2.MENU_NO = eam.PRNTS_MENU_NO
where AUT_CD = #{role} WHERE AUT_CD = #{role}
AND eam.USE_YN = 'Y'
AND eam2.USE_YN = 'Y'
ORDER BY menuLvl, menuOdrg; ORDER BY menuLvl, menuOdrg;
</select> </select>

View File

@@ -448,9 +448,9 @@
SELECT DATE_FORMAT(STR_TO_DATE(eul.LMT_YM ,'%Y%m'),'%Y-%m') AS LMT_YM SELECT DATE_FORMAT(STR_TO_DATE(eul.LMT_YM ,'%Y%m'),'%Y-%m') AS LMT_YM
, esu1.USER_ID AS USER_ID , esu1.USER_ID AS USER_ID
, (FX_LMT_AMT + CFWD_AMT) AS START_AMOUNT , (FX_LMT_AMT + CFWD_AMT) AS START_AMOUNT
, ROUND(0) AS USE_AMOUNT , '-' AS USE_AMOUNT
, ROUND(0) AS KRRR_AMOUNT , '-' AS KRRR_AMOUNT
, ROUND(0) AS EXTSH_AMOUNT , '-' AS EXTSH_AMOUNT
FROM hubez_admin.EZ_USER_LMT eul FROM hubez_admin.EZ_USER_LMT eul
JOIN hubez_common.EZ_SVC_USER esu1 ON eul.USER_SEQ = esu1.USER_SEQ JOIN hubez_common.EZ_SVC_USER esu1 ON eul.USER_SEQ = esu1.USER_SEQ
WHERE esu1.USER_ID =#{serviceId} and eul.LMT_YM = DATE_FORMAT(now(), '%Y%m') WHERE esu1.USER_ID =#{serviceId} and eul.LMT_YM = DATE_FORMAT(now(), '%Y%m')
@@ -466,7 +466,7 @@
JOIN hubez_common.EZ_SUBS_INFO esi ON eud.SUBS_ID = esi.SUBS_ID JOIN hubez_common.EZ_SUBS_INFO esi ON eud.SUBS_ID = esi.SUBS_ID
JOIN hubez_common.EZ_SVC_USER esu ON esi.USER_SEQ = esu.USER_SEQ JOIN hubez_common.EZ_SVC_USER esu ON esi.USER_SEQ = esu.USER_SEQ
<![CDATA[ <![CDATA[
AND eud.USE_YM >= DATE_ADD(NOW(), INTERVAL -4 MONTH) AND eud.USE_YM >= DATE_ADD(NOW(), INTERVAL -#{limitCnt} MONTH)
AND eud.USE_YM < NOW() AND eud.USE_YM < NOW()
]]> ]]>
AND esu.USER_ID = #{serviceId} AND esu.USER_ID = #{serviceId}