|
|
@@ -10,16 +10,12 @@ import org.springframework.core.env.Environment;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
import com.gagaframework.web.parameter.GagaMap;
|
|
|
import com.gagaframework.web.util.GagaDateUtil;
|
|
|
import com.gagaframework.web.util.GagaFileUtil;
|
|
|
import com.gagaframework.web.util.GagaStringUtil;
|
|
|
-import com.style24.persistence.TscPageRequest;
|
|
|
import com.style24.persistence.domain.Plan;
|
|
|
import com.style24.scm.biz.dao.TssPlanDao;
|
|
|
import com.style24.scm.support.security.session.TssSession;
|
|
|
@@ -1315,6 +1311,21 @@ public class TssPlanService {
|
|
|
return plan;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 기획전 삭제 처리
|
|
|
+ *
|
|
|
+ * @param
|
|
|
+ * @return
|
|
|
+ * @author rladbwnd5
|
|
|
+ * @since 2021. 05. 06
|
|
|
+ */
|
|
|
+ @Transactional("shopTxnManager")
|
|
|
+ public void deletePlan(Collection<Plan> paramList) {
|
|
|
+ for (Plan plan : paramList) {
|
|
|
+ plan.setUpdNo(TssSession.getInfo().getUserNo());
|
|
|
+ planDao.deletePlan(plan);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 기획전 템플릿 이미지 첨부파일 삭제
|