TsaGoodsDao.java 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160
  1. package com.style24.admin.biz.dao;
  2. import java.util.Collection;
  3. import com.style24.core.support.annotation.ShopDs;
  4. import com.style24.persistence.domain.AdKeyword;
  5. import com.style24.persistence.domain.AdKeywordGoods;
  6. import com.style24.persistence.domain.Color;
  7. import com.style24.persistence.domain.FreeGoods;
  8. import com.style24.persistence.domain.Goods;
  9. import com.style24.persistence.domain.GoodsCompose;
  10. import com.style24.persistence.domain.GoodsDesc;
  11. import com.style24.persistence.domain.GoodsEpSkip;
  12. import com.style24.persistence.domain.GoodsHst;
  13. import com.style24.persistence.domain.GoodsImg;
  14. import com.style24.persistence.domain.GoodsMass;
  15. import com.style24.persistence.domain.GoodsNaverLowestPrice;
  16. import com.style24.persistence.domain.GoodsNotiInfo;
  17. import com.style24.persistence.domain.GoodsPriceRes;
  18. import com.style24.persistence.domain.GoodsResSell;
  19. import com.style24.persistence.domain.GoodsSafeNo;
  20. import com.style24.persistence.domain.GoodsSearch;
  21. import com.style24.persistence.domain.GoodsTnmRes;
  22. import com.style24.persistence.domain.GoodsVideo;
  23. import com.style24.persistence.domain.Itemkind;
  24. import com.style24.persistence.domain.NotiInfo;
  25. import com.style24.persistence.domain.Notice;
  26. import com.style24.persistence.domain.NoticeGoods;
  27. import com.style24.persistence.domain.Option;
  28. import com.style24.persistence.domain.ReinboundInform;
  29. import com.style24.persistence.domain.Video;
  30. import com.style24.persistence.domain.WmsColorMapping;
  31. import com.style24.persistence.domain.WmsGoods;
  32. import com.style24.persistence.domain.WmsSeasonMapping;
  33. import com.style24.persistence.domain.WmsStyleYearMapping;
  34. import com.gagaframework.web.parameter.GagaMap;
  35. /**
  36. * 상품관리 Dao
  37. *
  38. * @author eskim
  39. * @since 2020. 10. 16
  40. */
  41. @ShopDs
  42. public interface TsaGoodsDao {
  43. /**
  44. * 품목 목록
  45. * @param itemkind
  46. * @return
  47. * @author eskim
  48. * @since 2020. 10. 16
  49. */
  50. Collection<Itemkind> getItemkindList(Itemkind itemkind);
  51. /**
  52. * 품목 저장(등록/저장)
  53. * @param itemkind - 품목 정보
  54. * @author eskim
  55. * @since 2020. 10. 16
  56. */
  57. void saveItemkindInfo(Itemkind itemkind);
  58. /**
  59. * 품목 삭제
  60. * @param itemkind - 품목 정보
  61. * @author eskim
  62. * @since 2020. 10. 16
  63. */
  64. void deleteItemkindInfo(Itemkind itemkind);
  65. /**
  66. * 색상목록 조회
  67. *
  68. * @param color
  69. * @return
  70. * @author eskim
  71. * @since 2020. 10. 16
  72. */
  73. Collection<Color> getColorList(Color color);
  74. /**
  75. * 색상 저장
  76. * @param color
  77. * @author eskim
  78. * @since 2020. 10. 16
  79. */
  80. void saveColor(Color color);
  81. /**
  82. * 상품정보고시 목록
  83. * @param notiInfo
  84. * @return
  85. * @author eskim
  86. * @since 2010. 10. 19
  87. */
  88. Collection<NotiInfo> getNotiInfoList(NotiInfo notiInfo);
  89. /**
  90. * 상품정보고시 항목 목록
  91. * @param notiInfo
  92. * @return
  93. * @author eskim
  94. * @since 2010. 10. 19
  95. */
  96. Collection<NotiInfo> getNotiInfoItemList(NotiInfo notiInfo);
  97. /**
  98. * 상품정보고시 상세 저장
  99. * @param notiInfo
  100. * @author eskim
  101. * @since 2010. 10. 19
  102. */
  103. void saveNotiInfo(NotiInfo notiInfo);
  104. /**
  105. * WMS 색상 매핑목록 조회
  106. *
  107. * @param wmsColorMapping
  108. * @return
  109. * @author eskim
  110. * @since 2020. 11. 12
  111. */
  112. Collection<WmsColorMapping> getWmsColorMappingList(WmsColorMapping wmsColorMapping);
  113. /**
  114. * WMS 색상 매핑 저장
  115. * @param wmsColorMapping
  116. * @author eskim
  117. * @since 2020. 11. 12
  118. */
  119. void saveWmsColorMapping(WmsColorMapping wmsColorMapping);
  120. /**
  121. * WMS 스타일년도 매핑목록 조회
  122. *
  123. * @param wmsStyleYearMapping
  124. * @return
  125. * @author eskim
  126. * @since 2020. 11. 13
  127. */
  128. Collection<WmsStyleYearMapping> getWmsStyleYearMappingList(WmsStyleYearMapping wmsStyleYearMapping);
  129. /**
  130. * WMS 스타일년도 매핑 저장
  131. * @param wmsStyleYearMapping
  132. * @author eskim
  133. * @since 2020. 11. 13
  134. */
  135. void saveWmsStyleYearMapping(WmsStyleYearMapping wmsStyleYearMapping);
  136. /**
  137. * WMS 시즌 매핑목록 조회
  138. *
  139. * @param wmsStyleYearMapping
  140. * @return
  141. * @author eskim
  142. * @since 2020. 11. 13
  143. */
  144. Collection<WmsSeasonMapping> getWmsSeasonMappingList(WmsSeasonMapping wmsSeasonMapping);
  145. /**
  146. * WMS 시즌 매핑 저장
  147. * @param wmsStyleYearMapping
  148. * @author eskim
  149. * @since 2020. 11. 13
  150. */
  151. void saveWmsSeasonMapping(WmsSeasonMapping wmsSeasonMapping);
  152. /**
  153. * 상품 목록 건수
  154. *
  155. * @param goodsSearch
  156. * @return
  157. * @author eskim
  158. * @since 2010. 10. 20
  159. */
  160. int getGoodsListCount(GoodsSearch goodsSearch);
  161. /**
  162. * 상품 목록
  163. *
  164. * @param goodsSearch
  165. * @return
  166. * @author eskim
  167. * @since 2010. 10. 20
  168. */
  169. Collection<Goods> getGoodsList(GoodsSearch goodsSearch);
  170. /**
  171. * 상품 목록 기본정보 엑셀다운로드
  172. *
  173. * @param goodsSearch
  174. * @return
  175. * @author eskim
  176. * @since 2020. 10. 22
  177. */
  178. Collection<GagaMap> getGoodsInfoExcelList(GoodsSearch goodsSearch);
  179. /**
  180. * 상품 이미지 필수 항목 입력 여부 조회
  181. *
  182. * @param goods
  183. * @return
  184. * @author eskim
  185. * @since 2020. 10. 22
  186. */
  187. Collection<Goods> getGoodsImgsYn(Goods goods);
  188. /**
  189. * 상품 상세
  190. *
  191. * @param goods
  192. * @return
  193. * @author eskim
  194. * @since 2020. 10. 22
  195. */
  196. Goods getGoods(Goods goods);
  197. /**
  198. * 상품 상세 정보 조회
  199. *
  200. * @param goodsVideo
  201. * @return
  202. * @author eskim
  203. * @since 2020. 10. 22
  204. */
  205. Collection<GoodsDesc> getGoodsDescList(GoodsDesc goodsDesc);
  206. /**
  207. * 상품 정보 이력
  208. *
  209. * @param goods
  210. * @return
  211. * @author eskim
  212. * @since 2019. 08. 12
  213. */
  214. Collection<GoodsHst> getGoodsHstList(Goods goods);
  215. /**
  216. * 상품 옵션 조회
  217. *
  218. * @param goods
  219. * @return
  220. * @author eskim
  221. * @since 2020. 10. 26
  222. */
  223. Collection<Option> getGoodsSizeList(Goods goods);
  224. /**
  225. * 상품 색상목록 조회
  226. *
  227. * @param goods
  228. * @return
  229. * @author eskim
  230. * @since 2020. 11. 18
  231. */
  232. Collection<GoodsImg> getGoodsColorList(Goods goods);
  233. /**
  234. * 상품 고시 조회
  235. *
  236. * @param goodsNotiInfo
  237. * @return
  238. * @author eskim
  239. * @since 2020. 10. 12
  240. */
  241. Collection<GoodsNotiInfo> getGoodsNotiInfoList(GoodsNotiInfo goodsNotiInfo);
  242. /**
  243. * 상품의 정보고시 항목 목록
  244. *
  245. * @param notiInfo
  246. * @return
  247. * @author eskim
  248. * @since 2020. 10. 18
  249. */
  250. Collection<NotiInfo> getNotiGoodsInfoList(NotiInfo notiInfo);
  251. /**
  252. * 구성상품 목록
  253. *
  254. * @param goodsNotiInfo
  255. * @return
  256. * @author eskim
  257. * @since 2020. 10. 27
  258. */
  259. Collection<GoodsCompose> getGoodsDetailComposeList(Goods goods);
  260. /**
  261. * 안전인증대상 상품 저장
  262. *
  263. * @author eskim
  264. * @since 2020. 12. 07
  265. */
  266. void saveGoodsSafeNo(GoodsSafeNo goodsSafeNo);
  267. /**
  268. * 상품 기본 정보 이력 생성
  269. *
  270. * @param goods
  271. * @author eskim
  272. * @since 2020. 10. 22
  273. */
  274. void createGoodsHst(Goods goods);
  275. /**
  276. * 상품 수정 항목 일괄변경
  277. *
  278. * @param goods
  279. * @author eskim
  280. * @since 2020. 10. 22
  281. */
  282. void updateGoodsState(Goods goods);
  283. /**
  284. * 상품 품목변경
  285. *
  286. * @param goods
  287. * @author eskim
  288. * @since 2020. 10. 23
  289. */
  290. void updateGoodItemKindCd(Goods goods);
  291. /**
  292. * 상품 자동 검색어 조회
  293. *
  294. * @param goodsCd
  295. * @return
  296. * @author eskim
  297. * @since 2020. 10. 23
  298. */
  299. String getGoodsSnm(String goodsCd);
  300. /**
  301. * 상품검색어 수정
  302. *
  303. * @param goods
  304. * @author eskim
  305. * @since 2020. 10. 23
  306. */
  307. void updateGoodsSnm(Goods goods);
  308. /**
  309. * 상품 품목변경 고시정보 조회
  310. *
  311. * @param goods
  312. * @return
  313. * @author eskim
  314. * @since 2020. 10. 23
  315. */
  316. Collection<GoodsNotiInfo> getNewNotiInfo(Goods goods);
  317. /**
  318. * 상품 품목변경 고시정보 삭제
  319. *
  320. * @param goods
  321. * @author eskim
  322. * @since 2020. 10. 23
  323. */
  324. void deleteGoodsNotiInfo(Goods goods);
  325. /**
  326. * 상품 고시 정보 수정
  327. *
  328. * @param goodsNotiInfo
  329. * @author eskim
  330. * @since 2020. 10. 23
  331. */
  332. void saveGoodsNotiInfo(GoodsNotiInfo goodsNotiInfo);
  333. /**
  334. * 상품 기본 정보 수정
  335. *
  336. * @param goods
  337. * @author eskim
  338. * @since 2020. 10. 27
  339. */
  340. void updateGoods(Goods goods);
  341. /**
  342. * 상품 상세정보 삭제
  343. *
  344. * @param godsDesc
  345. * @author eskim
  346. * @since 2020. 10. 27
  347. */
  348. void deleteGoodsDesc(GoodsDesc godsDesc);
  349. /**
  350. * 상품 상세 정보 이력 생성
  351. * @param createGoodsDetailDesc
  352. * @author eskim
  353. * @since 2021. 01. 04
  354. */
  355. public void createGoodsDetailDescHst(GoodsDesc godsDesc);
  356. /**
  357. * 상품 상세정보 등록
  358. *
  359. * @param godsDesc
  360. * @author eskim
  361. * @since 2020. 10. 27
  362. */
  363. void createGoodsDesc(GoodsDesc godsDesc);
  364. /**
  365. * 구성상품 저장
  366. *
  367. * @param goodsCompose
  368. * @author eskim
  369. * @since 2020. 10. 27
  370. */
  371. void saveGoodsCompose(GoodsCompose goodsCompose);
  372. /**
  373. * 상품 옵션/재고 정보 이력생성
  374. *
  375. * @param option
  376. * @author eskim
  377. * @since 2020. 10. 27
  378. */
  379. void createStockHst(Option option);
  380. /**
  381. * 상품 옵션/재고 정보 수정
  382. *
  383. * @param stock
  384. * @author eskim
  385. * @since 2020. 10. 27
  386. */
  387. void saveStock(Option option);
  388. /**
  389. * 상품 기본 정보 등록
  390. *
  391. * @param goods
  392. * @author eskim
  393. * @since 2020. 10. 30
  394. */
  395. void createGoods(Goods goods);
  396. /**
  397. * 상품통계 생성
  398. *
  399. * @param goods
  400. * @author eskim
  401. * @since 2020. 10. 30
  402. */
  403. void createGoodsSmmary(Goods goods);
  404. // /**
  405. // * 상품 품목별 매핑 카테고리 저장
  406. // *
  407. // * @param goods
  408. // * @author eskim
  409. // * @since 2020. 10. 30
  410. // */
  411. // void createCategoryGoods(Goods goods);
  412. // /**
  413. // * 상품 이미지 저장
  414. // *
  415. // * @param goodsImg
  416. // * @author eskim
  417. // * @since 2020. 10. 30
  418. // */
  419. // void saveGoodsImgInfo(GoodsImg goodsImg);
  420. /**
  421. * 상품코드 생성
  422. *
  423. * @param goods
  424. * @author eskim
  425. * @since 2020. 10. 30
  426. */
  427. void createGoodsSequence(Goods goods);
  428. /**
  429. * 상품 타이틀 관리 목록 건수
  430. *
  431. * @param goodsSearch
  432. * @return
  433. * @author eskim
  434. * @since 2020. 10. 30
  435. */
  436. int getGoodsTitleReserveCount(GoodsSearch goodsSearch);
  437. /**
  438. * 상품 타이틀 관리 목록
  439. *
  440. * @param goodsSearch
  441. * @return
  442. * @author eskim
  443. * @since 2020. 10. 30
  444. */
  445. Collection<GoodsTnmRes> getGoodsTitleReserveList(GoodsSearch goodsSearch);
  446. /**
  447. * 상품 타이틀 조회(기간 체크용)
  448. *
  449. * @param goodsTnmRes
  450. * @return
  451. * @author eskim
  452. * @since 2020. 11. 02
  453. */
  454. int getGoodsTnmDupChkCount(GoodsTnmRes goodsTnmRes);
  455. /**
  456. * 상품 타이틀 예약 등록
  457. *
  458. * @param goodsTnmRes
  459. * @author eskim
  460. * @since 2020. 11. 02
  461. */
  462. void createGoodTnmRes(GoodsTnmRes goodsTnmRes);
  463. /**
  464. * 상품 타이틀 수정
  465. *
  466. * @param goods
  467. * @author eskim
  468. * @since 2020. 11. 02
  469. */
  470. void updateGoodTnm(Goods goods);
  471. /**
  472. * 상품 타이틀 예약건 초기화
  473. *
  474. * @param goods
  475. * @author eskim
  476. * @since 2020. 11. 02
  477. */
  478. void updateGoodTnmInit(Goods goods);
  479. /**
  480. * 상품 타이틀 예약 삭제
  481. *
  482. * @param goodsTnmRes
  483. * @author eskim
  484. * @since 2020. 11. 02
  485. */
  486. void deleteGoodTnmRes(GoodsTnmRes goodsTnmRes);
  487. /**
  488. * 상품 타이틀 초기값 조회
  489. *
  490. * @param goods
  491. * @return
  492. * @author eskim
  493. * @since 2020. 11. 02
  494. */
  495. Goods getGoodTnmInit(Goods goods);
  496. /**
  497. * 상품예약판매 목록 건수
  498. *
  499. * @param goodsSearch
  500. * @return Integer
  501. * @author eskim
  502. * @since 2020. 11. 12
  503. */
  504. int getGoodsResSellCount(GoodsSearch goodsSearch);
  505. /**
  506. * 상품예약판매 목록
  507. *
  508. * @param goodsSearch
  509. * @return Collection<TsaGoodsResSell>
  510. * @author eskim
  511. * @since 2020. 11. 12
  512. */
  513. Collection<GoodsResSell> getGoodsResSellList(GoodsSearch goodsSearch);
  514. /**
  515. * 상품예약판매 조회(기간 체크용)
  516. *
  517. * @param goodsResSell
  518. * @return int
  519. * @author eskim
  520. * @since 2020. 11. 12
  521. */
  522. int getGoodsResSellDupChkCount(GoodsResSell goodsResSell);
  523. /**
  524. * 상품예약판매 등록
  525. *
  526. * @param goodsResSell
  527. * @return void
  528. * @author eskim
  529. * @since 2020. 11. 12
  530. */
  531. void createGoodResSell(GoodsResSell goodsResSell);
  532. /**
  533. * 상품예약판매 등록 시 재고연동 비활성화
  534. *
  535. * @param goods
  536. * @author eskim
  537. * @since 2020. 11. 12
  538. */
  539. void updateGoodsErpStockLinkYn(Goods goods);
  540. /**
  541. * 상품예약판매 삭제
  542. *
  543. * @param goodsResSell
  544. * @return void
  545. * @author eskim
  546. * @since 2020. 11. 12
  547. */
  548. void deleteGoodResSell(GoodsResSell goodsResSell);
  549. /**
  550. * 네이버 EP 제외 상품 목록 건수
  551. *
  552. * @param goodsSearch
  553. * @return Integer
  554. * @author eskim
  555. * @since 2020. 11. 03
  556. */
  557. int getGoodsEpSkipCount(GoodsSearch goodsSearch);
  558. /**
  559. * 네이버 EP 제외 상품 목록
  560. *
  561. * @param goodsSearch
  562. * @return Collection<GoodsEpSkip>
  563. * @author eskim
  564. * @since 2020. 11. 03
  565. */
  566. Collection<GoodsEpSkip> getGoodsEpSkipList(GoodsSearch goodsSearch);
  567. /**
  568. * 네이버 EP 제외 상품 조회(기간 체크용)
  569. *
  570. * @param GoodsEpSkip
  571. * @return Collection<GoodsEpSkip>
  572. * @author eskim
  573. * @since 2020. 11. 03
  574. */
  575. int getGoodsEpSkipDupChkCount(GoodsEpSkip GoodsEpSkip);
  576. /**
  577. * 네이버 EP 제외 상품 예약 등록
  578. *
  579. * @param goodsEpSkip
  580. * @return
  581. * @author eskim
  582. * @since 2020. 11. 03
  583. */
  584. void createGoodEpSkip(GoodsEpSkip goodsEpSkip);
  585. /**
  586. * 네이버 EP 제외 상품 예약 삭제
  587. *
  588. * @param goodsEpSkip
  589. * @return
  590. * @author eskim
  591. * @since 2020. 11. 03
  592. */
  593. void deleteGoodEpSkip(GoodsEpSkip goodsEpSkip);
  594. /**
  595. * 상품 상세공지 목록
  596. *
  597. * @param goodsSearch
  598. * @return
  599. * @author eskim
  600. * @since 2020. 11. 05
  601. */
  602. Collection<Notice> getNoticeList(GoodsSearch goodsSearch);
  603. /**
  604. * 상품 상세공지 상품 목록
  605. *
  606. * @param goodsSearch
  607. * @return
  608. * @author eskim
  609. * @since 2020. 11. 06
  610. */
  611. Collection<NoticeGoods> getNoticeGoodsList(Notice notice);
  612. /**
  613. * 상품 상세공지 상품 저장
  614. *
  615. * @param noticeGoods
  616. * @return
  617. * @author eskim
  618. * @since 2020. 11. 06
  619. */
  620. void saveNoticeGoods(NoticeGoods noticeGoods);
  621. /**
  622. * 상품 상세공지 상품 삭제
  623. *
  624. * @param noticeGoods
  625. * @return
  626. * @author eskim
  627. * @since 2020. 11. 06
  628. */
  629. void deleteNoticeGoods(NoticeGoods noticeGoods);
  630. /**
  631. * 상품 가격예약 목록 건수
  632. *
  633. * @param goodsSearch
  634. * @return Integer
  635. * @author eskim
  636. * @since 2020. 11. 13
  637. */
  638. int getGoodsPriceResCount(GoodsSearch goodsSearch);
  639. /**
  640. * 상품 가격예약 목록
  641. *
  642. * @param goodsSearch
  643. * @return Collection<GoodsPriceRes>
  644. * @author eskim
  645. * @since 2020. 11. 13
  646. */
  647. Collection<GoodsPriceRes> getGoodsPriceResList(GoodsSearch goodsSearch);
  648. /**
  649. * 상품 가격예약 조회(기간 체크용)
  650. *
  651. * @param goodsPriceRes
  652. * @return int
  653. * @author eskim
  654. * @since 2020. 11. 13
  655. */
  656. int getGoodsPriceResDupChkCount(GoodsPriceRes goodsPriceRes);
  657. /**
  658. * 상품 가격예약 등록(화면)
  659. *
  660. * @param goodsPriceRes
  661. * @return void
  662. * @author eskim
  663. * @since 2020. 11. 13
  664. */
  665. void createGoodPriceRes(GoodsPriceRes goodsPriceRes);
  666. /**
  667. * 상품 가격예약 삭제
  668. *
  669. * @param goodsPriceRes
  670. * @return void
  671. * @author eskim
  672. * @since 2020. 11. 13
  673. */
  674. void deleteGoodPriceRes(GoodsPriceRes goodsPriceRes);
  675. /**
  676. * 상품 동영상 목록 조회
  677. *
  678. * @param goodsVideo
  679. * @return
  680. * @author eskim
  681. * @since 2020. 11. 16
  682. */
  683. Collection<GoodsVideo> getGoodsVideoList(GoodsVideo goodsVideo);
  684. /**
  685. * 상품 동영상 사용안함으로 변경
  686. *
  687. * @param video
  688. * @author eskim
  689. * @since 2020. 11. 16
  690. */
  691. void updateNotUseGoodsVideo(Video video);
  692. /**
  693. * 동영상 일련번호 조회
  694. *
  695. * @param video
  696. * @return
  697. * @author eskim
  698. * @since 2020. 11. 16
  699. */
  700. String getVideoSeq(Video video);
  701. /**
  702. * 동영상 등록
  703. *
  704. * @param video
  705. * @author eskim
  706. * @since 2020. 11. 16
  707. */
  708. void createVideo(Video video);
  709. /**
  710. * 동영상 수정
  711. *
  712. * @param video
  713. * @author eskim
  714. * @since 2020. 11. 16
  715. */
  716. void updateVideo(Video video);
  717. /**
  718. * 동영상 위치 삭제 Y 처리
  719. *
  720. * @param video
  721. * @author eskim
  722. * @since 2020. 11. 16
  723. */
  724. void delVideoDispLoc(Video video);
  725. /**
  726. * 동영상 위치 수정/저장
  727. *
  728. * @param video
  729. * @author eskim
  730. * @since 2020. 11. 16
  731. */
  732. void saveVideoDispLoc(Video video);
  733. /**
  734. * 상품 옵션 존재여부 확인
  735. *
  736. * @param option
  737. * @return
  738. * @author eskim
  739. * @since 2020. 11. 17
  740. */
  741. int getGoodsOptionCount(Option option);
  742. /**
  743. * 상품 가격 승인 목록
  744. *
  745. * @param goodsPriceHst
  746. * @return
  747. * @author eskim
  748. * @since 2020. 11. 26
  749. */
  750. Collection<GoodsPriceRes> getGoodsSupplyPriceList(GoodsPriceRes goodsPriceRes);
  751. /**
  752. * 상품 가격수정
  753. *
  754. * @param goods
  755. * @author eskim
  756. * @since 2020. 11. 26
  757. */
  758. void updateGoodsPrice(Goods goods);
  759. /**
  760. * 상품 판매수수료율 수정
  761. *
  762. * @param goods
  763. * @author eskim
  764. * @since 2020. 11. 26
  765. */
  766. void updateSellFeeRate(Goods goods);
  767. /**
  768. * 상품 가격승인 적용일자 변경
  769. *
  770. * @param goodsPriceRes
  771. * @author eskim
  772. * @since 2020. 11. 26
  773. */
  774. void updateGoodsSupplyPricecfrmDt(GoodsPriceRes goodsPriceRes);
  775. /**
  776. * 상품 네이버 최저가 목록
  777. *
  778. * @param goodsSearch
  779. * @return
  780. * @author eskim
  781. * @since 2020. 12. 08
  782. */
  783. Collection<GoodsNaverLowestPrice> getGoodsNaverPriceList(GoodsSearch goodsSearch);
  784. /**
  785. * 상품 네이버 최저가 최종 작업일
  786. *
  787. * @param
  788. * @return
  789. * @author eskim
  790. * @since 2020. 12. 09
  791. */
  792. String getGoodsNaverLowestPriceReqYmd();
  793. /**
  794. * 상품 네이버 최저가 삭제
  795. *
  796. * @param
  797. * @return
  798. * @author eskim
  799. * @since 2020. 12. 09
  800. */
  801. void deleteGoodsNaverLowestPrice();
  802. /**
  803. * 상품 네이버 최저가 저장
  804. *
  805. * @param goodsNaverLowestPrice
  806. * @return
  807. * @author eskim
  808. * @since 2020. 12. 09
  809. */
  810. void saveGoodsNaverLowestPrice(GoodsNaverLowestPrice goodsNaverLowestPrice);
  811. /**
  812. * 상품 구매등급 조회
  813. *
  814. * @param goods
  815. * @return
  816. * @author eskim
  817. * @since 2020. 12. 11
  818. */
  819. Collection<Goods> getGoodsDetailOrderGradeList(Goods goods);
  820. /**
  821. * 상품 구매등급 삭제
  822. *
  823. * @param map
  824. * @return
  825. * @author eskim
  826. * @since 2020. 12. 11
  827. */
  828. void deleteGoodsCustGrade(Goods goods);
  829. /**
  830. * 상품 구매등급 저장
  831. *
  832. * @param map
  833. * @return
  834. * @author eskim
  835. * @since 2020. 12. 11
  836. */
  837. void createGoodsCustGrade(Goods goods);
  838. /**
  839. * 광고 키워드 목록
  840. *
  841. * @param adKeyword
  842. * @return
  843. * @author eskim
  844. * @since 2020. 12. 14
  845. */
  846. Collection<AdKeyword> getAdKeywordList(AdKeyword adKeyword);
  847. /**
  848. * 광고 키워드 저장
  849. *
  850. * @param adKeywordGoods
  851. * @return
  852. * @author eskim
  853. * @since 2020. 12. 14
  854. */
  855. void saveAdKeyword(AdKeyword adKeyword);
  856. /**
  857. * 광고 키워드 상품 목록
  858. *
  859. * @param adKeyword
  860. * @return
  861. * @author eskim
  862. * @since 2020. 12. 14
  863. */
  864. Collection<AdKeywordGoods> getAdKeywordGoodsList(AdKeyword adKeyword);
  865. /**
  866. * 광고 키워드 상품 저장
  867. *
  868. * @param adKeywordGoods
  869. * @return
  870. * @author eskim
  871. * @since 2020. 12. 14
  872. */
  873. void saveAdKeywordGoods(AdKeywordGoods adKeywordGoods);
  874. /**
  875. * 광고 키워드 상품 삭제
  876. *
  877. * @param noticeGoods
  878. * @return
  879. * @author eskim
  880. * @since 2020. 12. 14
  881. */
  882. void deleteAdKeywordGoods(AdKeywordGoods adKeywordGoods);
  883. /**
  884. * 재입고알림 목록 건수
  885. *
  886. * @param goodsSearch
  887. * @return Integer
  888. * @author eskim
  889. * @since 2020. 12. 16
  890. */
  891. int getReinboundInformCount(GoodsSearch goodsSearch);
  892. /**
  893. * 재입고알림 목록
  894. *
  895. * @param goodsSearch
  896. * @return Collection<ReinboundInform>
  897. * @author eskim
  898. * @since 2020. 12. 16
  899. */
  900. Collection<ReinboundInform> getReinboundInformList(GoodsSearch goodsSearch);
  901. /**
  902. * 재입고 알림톡 발송처리
  903. *
  904. * @param params
  905. * @return void
  906. * @author eskim
  907. * @since 2020. 12. 17
  908. */
  909. void updateReinboundInform(ReinboundInform reinboundInform);
  910. /**
  911. * 상품이미지 목록
  912. *
  913. * @param goodsImg
  914. * @return Collection<GoodsImg>
  915. * @author eskim
  916. * @since 2020. 12. 16
  917. */
  918. Collection<GoodsImg> getGoodsImageList(GoodsImg goodsImg);
  919. /**
  920. * 상품이미지 전체 삭제
  921. * @param goodsImg - 상품이미지 정보
  922. * @throws
  923. * @author eskim
  924. * @since 2020. 12. 21
  925. */
  926. public void deleteGoodsImageTotal(GoodsImg goodsImg);
  927. /**
  928. * 상품이미지 삭제
  929. * @param goodsImg - 상품이미지 정보
  930. * @throws
  931. * @author eskim
  932. * @since 2020. 12. 21
  933. */
  934. public void deleteGoodsImage(GoodsImg goodsImg);
  935. /**
  936. * 상품이미지 등록
  937. * @param goodsImg - 상품이미지 정보
  938. * @throws
  939. * @author eskim
  940. * @since 2020. 12. 21
  941. */
  942. public void createGoodsImage(GoodsImg goodsImg);
  943. /**
  944. * 사은품 목록
  945. *
  946. * @param GoodsSearch
  947. * @return Collection<FreeGoods>
  948. * @author eskim
  949. * @since 2020. 12. 28
  950. */
  951. Collection<FreeGoods> getFreeGoodsList(GoodsSearch goodsSearch);
  952. /**
  953. * 사은품 정보 수정
  954. * @param freeGoods
  955. * @author eskim
  956. * @since 2020. 12. 28
  957. */
  958. public void updateFreeGoods(FreeGoods freeGoods);
  959. /**
  960. * WMS입고상품관리 목록 건수
  961. * @param goodsSearch
  962. * @return Collection<WmsGoods>
  963. * @author eskim
  964. * @since 2021. 01. 04
  965. */
  966. int getGoodsWmsIncomelotListCount(WmsGoods wmsGoods);
  967. /**
  968. * WMS입고상품관리 목록 조회
  969. * @param goodsSearch
  970. * @return Collection<WmsGoods>
  971. * @author eskim
  972. * @since 2021. 01. 04
  973. */
  974. Collection<WmsGoods> getGoodsWmsIncomelotList(WmsGoods wmsGoods);
  975. /**
  976. * WMS 입고상품 사은품 등록
  977. * @param freeGoods
  978. * @author eskim
  979. * @since 2021. 01. 05
  980. */
  981. public void saveFreeGoods(FreeGoods freeGoods);
  982. /**
  983. * WMS 입고상품 사은품 상품 구분 저장
  984. * @param wmsGoods
  985. * @author eskim
  986. * @since 2021. 01. 05
  987. */
  988. public void saveGoodsWmsIncomelot(WmsGoods wmsGoods);
  989. /**
  990. * 고시분류별 상품고시정보 목록
  991. * @param goodsNotiInfo - 상품고시정보
  992. * @return
  993. * @author gagamel
  994. * @since 2021. 1. 21
  995. */
  996. public Collection<GoodsNotiInfo> getGoodsNotiInfoListByNotiClsf(GoodsNotiInfo goodsNotiInfo);
  997. /**
  998. * 고시분류 칼럼 정보
  999. * @param niClsfCd - 고시분류코드
  1000. * @return
  1001. * @author gagamel
  1002. * @since 2021. 1. 21
  1003. */
  1004. GoodsNotiInfo getNotiClsfColumnInfo(String niClsfCd);
  1005. /**
  1006. * 상품 품목별 매핑 카테고리 저장
  1007. *
  1008. * @param goods
  1009. * @author eskim
  1010. * @since 2021. 01. 24
  1011. */
  1012. void createCategoryGoods(Goods goods);
  1013. /**
  1014. * 상품 등록 로그 생성
  1015. *
  1016. * @param goodsMass
  1017. * @author eskim
  1018. * @since 2021. 01. 25
  1019. */
  1020. void createGoodsRegLog(GoodsMass goodsMass);
  1021. /**
  1022. * 상품 기본 정보 수정 - 대량엑셀
  1023. *
  1024. * @param goods
  1025. * @author eskim
  1026. * @since 2021. 1. 25
  1027. */
  1028. void updateGoodsMass(Goods goods);
  1029. /**
  1030. * 상품등록로그 목록
  1031. *
  1032. * @param goodsSearch
  1033. * @return
  1034. * @author eskim
  1035. * @since 2021. 01. 25
  1036. */
  1037. Collection<GoodsMass> getGoodsRegLogList(GoodsSearch goodsSearch);
  1038. }