|
|
@@ -9,6 +9,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import com.gagaframework.excel.env.GagaExcelConstants;
|
|
|
import com.gagaframework.excel.xssf.GagaExcelResultHandler;
|
|
|
+import com.style24.core.support.env.TscConstants;
|
|
|
import com.style24.core.support.message.TscMessageByLocale;
|
|
|
import com.style24.persistence.domain.Order;
|
|
|
import com.style24.scm.biz.dao.TssOrderDao;
|
|
|
@@ -235,6 +236,10 @@ public class TssOrderService {
|
|
|
if (result > 0) {
|
|
|
// 3. 주문상세상태 변경 이력생성
|
|
|
orderDao.createOrderDetailHst(updateData);
|
|
|
+
|
|
|
+ // 202010419 xodud1202 주문상품상세 상태 변경
|
|
|
+ updateData.setOrdDtlStat(TscConstants.OrderDetailStat.GOODS_PREPARE.value());
|
|
|
+ orderDao.updateOrderDetailItemStat(updateData);
|
|
|
}
|
|
|
|
|
|
// 4. 엑셀 다운로드용 임시테이블 데이타 체크
|
|
|
@@ -402,6 +407,8 @@ public class TssOrderService {
|
|
|
// 7. 주문상세상태 변경 이력 등록
|
|
|
if (result > 0) {
|
|
|
successCount++;
|
|
|
+ updateData.setOrdDtlStat(TscConstants.OrderDetailStat.DELIVERY_PREPARE.value());
|
|
|
+ orderDao.updateOrderDetailItemStat(updateData);
|
|
|
orderDao.createOrderDetailHst(updateData);
|
|
|
} else {
|
|
|
failedGoodCdStr += updateData.getGoodsCd() + " / " + updateData.getOptCd2() + "(Error1)<br/>";
|