|
|
@@ -212,10 +212,12 @@ public class TsaWithdrawService {
|
|
|
*/
|
|
|
public Collection<WmsWithdraw> getOptionInfo(Collection<WmsWithdraw> wmsWithdrawList) {
|
|
|
|
|
|
- for(WmsWithdraw data : wmsWithdrawList) {
|
|
|
-
|
|
|
+ for (WmsWithdraw data : wmsWithdrawList) {
|
|
|
WmsWithdraw optionInfo = withdrawDao.getOptionInfo(data);
|
|
|
- data.setGoodsCd(optionInfo.getGoodsCd());
|
|
|
+ // 2021.11.16 null 처리
|
|
|
+ if (optionInfo != null) {
|
|
|
+ data.setGoodsCd(optionInfo.getGoodsCd());
|
|
|
+ }
|
|
|
}
|
|
|
return wmsWithdrawList;
|
|
|
}
|