|
@@ -1,5 +1,6 @@
|
|
|
package com.style24.admin.biz.service;
|
|
package com.style24.admin.biz.service;
|
|
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.Collection;
|
|
import java.util.Collection;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
@@ -26,6 +27,7 @@ import com.style24.persistence.domain.OrderChange;
|
|
|
import com.style24.persistence.domain.Withdraw;
|
|
import com.style24.persistence.domain.Withdraw;
|
|
|
import com.style24.persistence.domain.WithdrawExc;
|
|
import com.style24.persistence.domain.WithdrawExc;
|
|
|
import com.style24.persistence.domain.WmsWithdraw;
|
|
import com.style24.persistence.domain.WmsWithdraw;
|
|
|
|
|
+import com.vdurmont.emoji.EmojiParser;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
@@ -95,7 +97,15 @@ public class TsaWithdrawService {
|
|
|
* @since 2020. 11. 16
|
|
* @since 2020. 11. 16
|
|
|
*/
|
|
*/
|
|
|
public Collection<Withdraw> getRefundList(Withdraw withdraw) {
|
|
public Collection<Withdraw> getRefundList(Withdraw withdraw) {
|
|
|
- return withdrawDao.getRefundList(withdraw);
|
|
|
|
|
|
|
+ Collection<Withdraw> result = new ArrayList<>();
|
|
|
|
|
+
|
|
|
|
|
+ // 이모티콘 제거
|
|
|
|
|
+ for (Withdraw data : withdrawDao.getRefundList(withdraw)) {
|
|
|
|
|
+ data.setChgMemo(EmojiParser.removeAllEmojis(data.getChgMemo()));
|
|
|
|
|
+ result.add(data);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return result;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|