Commit fb992c0d by Lee Munkyeong

自身情報更新不具合修正

parent 11acbb3f
......@@ -123,6 +123,10 @@ public class ShopMemberDao extends AbstractCommunicationDao {
return rawQueryGetDto("select * from m_shop_member where self_flg = 1", null, ShopMemberDto.class);
}
public void resetSelfFlg() {
update("update m_shop_member set self_flg = 0", new String[]{});
}
public List<ShopMemberDto> getUserInRoom(Integer chatRoomId) {
StringBuffer sql = new StringBuffer();
sql.append(" SELECT sm.* ");
......
......@@ -894,6 +894,7 @@ public class CommunicationLogic extends AbstractLogic {
public void insertMyInfo(ShopMemberDto shopMemberDto) {
shopMemberDto.selfFlg = 1;
shopMemberDao.resetSelfFlg();
shopMemberDao.insertShopMember(shopMemberDto);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment