|
@@ -13,6 +13,7 @@ import com.oqpo.api.mapper.stinfo.BrandMapper;
|
13
|
13
|
import com.oqpo.api.mapper.stinfo.ItemMapper;
|
14
|
14
|
import com.oqpo.api.mapper.stinfo.ItemUnitMapper;
|
15
|
15
|
import com.oqpo.api.service.CommonService;
|
|
16
|
+import com.oqpo.api.service.SessionService;
|
16
|
17
|
import com.oqpo.api.util.StringUtil;
|
17
|
18
|
import com.oqpo.api.web.dto.request.GridRequest;
|
18
|
19
|
import com.oqpo.api.web.dto.request.stinfo.brand.SaveBrandInfolRequest;
|
|
@@ -47,6 +48,9 @@ public class ItemService extends CommonService {
|
47
|
48
|
@Autowired
|
48
|
49
|
private FileMapper fileMapper;
|
49
|
50
|
|
|
51
|
+ @Autowired
|
|
52
|
+ private SessionService sessionService;
|
|
53
|
+
|
50
|
54
|
/*
|
51
|
55
|
팝업 품목 리스트 조회
|
52
|
56
|
*/
|
|
@@ -336,7 +340,8 @@ public class ItemService extends CommonService {
|
336
|
340
|
entity.setSysChgId(userId);
|
337
|
341
|
|
338
|
342
|
// 품목 아이디 부여 22 entity.setContentsNo(fnGetKeyNo(17));
|
339
|
|
- entity.setItemId(fnGetDealNo(26, "")); // 품목아이디 생성
|
|
343
|
+ // entity.setItemId(fnGetDealNo(26, "")); // 품목아이디 생성
|
|
344
|
+ entity.setItemId(sessionService.getKeyInfo("It").getKeyData()); // 품목아이디 생성
|
340
|
345
|
itemMapper.insertItemInfo(userId, entity);
|
341
|
346
|
}
|
342
|
347
|
} catch (GlobalException e) {
|