2022-11-15 10:05 되돌리기 수정
This commit is contained in:
parent
f0ede05001
commit
4035c8d78b
@ -465,10 +465,12 @@ public class DntServiceImpl implements DntService {
|
||||
|
||||
//String s_updateQuery = "";
|
||||
|
||||
/*
|
||||
dntVOTmp.getApprYn()!=null
|
||||
, " SET APPR_YN = '"+((dntVOTmp.getApprYn()!=null)?dntVOTmp.getApprYn():null)+"' WHERE ADR_SEQ='"+dntVO.getAdrSeq()+"' AND ADR_SN='"+dntVO.getAdrSn()+"' AND APP_SEQ='"+dntVO.getAppSeq()+"' " //, String p_updateQuery
|
||||
*/
|
||||
String s_updateQuery = "";
|
||||
if (dntVOTmp.getApprYn()!=null) {
|
||||
s_updateQuery = " SET APPR_YN = '"+dntVOTmp.getApprYn()+"' WHERE ADR_SEQ='"+dntVO.getAdrSeq()+"' AND ADR_SN='"+dntVO.getAdrSn()+"' AND APP_SEQ='"+dntVO.getAppSeq()+"' "; //, String p_updateQuery
|
||||
}else {
|
||||
s_updateQuery = " SET APPR_YN = null WHERE ADR_SEQ='"+dntVO.getAdrSeq()+"' AND ADR_SN='"+dntVO.getAdrSn()+"' AND APP_SEQ='"+dntVO.getAppSeq()+"' "; //, String p_updateQuery
|
||||
}
|
||||
|
||||
|
||||
//이력관리를 위한 adr_hstry_mgr 데이터 관리 추가 - 2022-08-09
|
||||
@ -486,7 +488,8 @@ public class DntServiceImpl implements DntService {
|
||||
, "U" //, String p_useCd I/U/UI/II/RE
|
||||
, "ADR_APP_MGR" //, String p_tableName
|
||||
|
||||
, " SET APPR_YN = '"+dntVOTmp.getApprYn()+"' WHERE ADR_SEQ='"+dntVO.getAdrSeq()+"' AND ADR_SN='"+dntVO.getAdrSn()+"' AND APP_SEQ='"+dntVO.getAppSeq()+"' " //, String p_updateQuery
|
||||
, s_updateQuery
|
||||
//, " SET APPR_YN = '"+dntVOTmp.getApprYn()+"' WHERE ADR_SEQ='"+dntVO.getAdrSeq()+"' AND ADR_SN='"+dntVO.getAdrSn()+"' AND APP_SEQ='"+dntVO.getAppSeq()+"' " //, String p_updateQuery
|
||||
|
||||
);
|
||||
//adr_hstry_mgr에 값 넣기 - 끝
|
||||
|
||||
Loading…
Reference in New Issue
Block a user