주소록 단일등록시 번호중복 체크로직 보완
This commit is contained in:
parent
a2a1f7a088
commit
82c908e1d1
@ -744,6 +744,14 @@
|
|||||||
MBER_ID = #mberId#
|
MBER_ID = #mberId#
|
||||||
AND
|
AND
|
||||||
ADDR_PHONE_NO = #addrPhoneNo#
|
ADDR_PHONE_NO = #addrPhoneNo#
|
||||||
|
<isNotEmpty property="bookmark">
|
||||||
|
<isEqual property="bookmark" compareValue="Y">
|
||||||
|
AND IFNULL(BOOKMARK, 'N') = 'Y'
|
||||||
|
</isEqual>
|
||||||
|
</isNotEmpty>
|
||||||
|
<isEmpty property="bookmark">
|
||||||
|
AND IFNULL(BOOKMARK, 'N') = 'N'
|
||||||
|
</isEmpty>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -817,10 +817,16 @@
|
|||||||
MJ_ADDR
|
MJ_ADDR
|
||||||
WHERE
|
WHERE
|
||||||
ADDR_GRP_ID = #addrGrpId#
|
ADDR_GRP_ID = #addrGrpId#
|
||||||
AND
|
AND MBER_ID = #mberId#
|
||||||
MBER_ID = #mberId#
|
AND ADDR_PHONE_NO = #addrPhoneNo#
|
||||||
AND
|
<isNotEmpty property="bookmark">
|
||||||
ADDR_PHONE_NO = #addrPhoneNo#
|
<isEqual property="bookmark" compareValue="Y">
|
||||||
|
AND IFNULL(BOOKMARK, 'N') = 'Y'
|
||||||
|
</isEqual>
|
||||||
|
</isNotEmpty>
|
||||||
|
<isEmpty property="bookmark">
|
||||||
|
AND IFNULL(BOOKMARK, 'N') = 'N'
|
||||||
|
</isEmpty>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user