|
|
@@ -843,10 +843,10 @@ public class TssGoodsService {
|
|
|
stock.setUpdNo(goods.getUpdNo());
|
|
|
stock.setRegNo(goods.getRegNo());
|
|
|
goodsDao.createStockHst(stock);
|
|
|
- log.info("saveStock goods={}", goods);
|
|
|
+ //log.info("saveStock goods={}", goods);
|
|
|
for (String optCd : goods.getOptCd()) {
|
|
|
- log.info("saveStock index={}", index);
|
|
|
- log.info("saveStock optCd={}", optCd);
|
|
|
+ //log.info("saveStock index={}", index);
|
|
|
+ //log.info("saveStock optCd={}", optCd);
|
|
|
Option goodsStock = new Option();
|
|
|
goodsStock.setGoodsCd(goods.getCompsGoodsCd()[index]); // 구성상품 코드
|
|
|
goodsStock.setOptCd(optCd);
|
|
|
@@ -1016,7 +1016,7 @@ public class TssGoodsService {
|
|
|
e.printStackTrace();
|
|
|
throw new IllegalStateException(message.getMessage("상품상세공지 저장 중 오류로 인해 저장되지 않았습니다."));
|
|
|
}
|
|
|
- log.info("noticeGoodsList: {}", noticeGoodsList);
|
|
|
+ //log.info("noticeGoodsList: {}", noticeGoodsList);
|
|
|
for (NoticeGoods noticeGoods : noticeGoodsList) {
|
|
|
noticeGoods.setNoticeSq(notice.getNoticeSq());
|
|
|
noticeGoods.setRegNo(TssSession.getInfo().getUserNo());
|
|
|
@@ -2272,7 +2272,7 @@ public class TssGoodsService {
|
|
|
}
|
|
|
|
|
|
// 상품상세 (html, as-is/입점)
|
|
|
- if (!UPDATE_NO_PATTERN.equals(goodsMass.getGoodsContent().trim())) {
|
|
|
+ if (!UPDATE_NO_PATTERN.equals(goodsMass.getGoodsContent().trim()) && "G056_N".equals(goodsOrigin.getGoodsType())) {
|
|
|
if (goodsMass.getGoodsContent().toLowerCase().indexOf("script") >= 0) {
|
|
|
goods.setGoodsRegMsg("상품상세 html script 선언 오류");
|
|
|
goods.setGoodsStat("10");
|
|
|
@@ -2312,7 +2312,7 @@ public class TssGoodsService {
|
|
|
}
|
|
|
|
|
|
//상품 상세 변경여부 와 촬영업체가 아닌경우
|
|
|
- if ("Y".equals(goods.getChkDescKeep()) && !"G001_E000".equals(TssSession.getInfo().getRoleCd())) {
|
|
|
+ if ("Y".equals(goods.getChkDescKeep()) && !"G001_E000".equals(TssSession.getInfo().getRoleCd()) && "G056_N".equals(goodsOrigin.getGoodsType())) {
|
|
|
GoodsDesc goodsDesc = new GoodsDesc();
|
|
|
goodsDesc.setGoodsCd(goods.getGoodsCd());
|
|
|
goodsDesc.setRegNo(goods.getRegNo());
|