| | |
| | | insert.setPinyin(PinYinUtil.getFullSpell(insert.getName())); |
| | | insert.setShortPinyin(PinYinUtil.getFirstSpell(insert.getName())); |
| | | baseGoodsMapper.insert(insert); |
| | | |
| | | |
| | | List<Multifile> multifileList = baseGoods.getMultifileList(); |
| | | if(!Objects.isNull(multifileList)&&multifileList.size()>Constants.ZERO){ |
| | | for (int i = 0; i < multifileList.size(); i++) { |
| | |
| | | multifileMapper.insert(multifile); |
| | | } |
| | | } |
| | | |
| | | |
| | | List<BaseGoodsParamCreatRequest> goodsParamList = baseGoods.getBaseGoodsParamList(); |
| | | if(!Objects.isNull(goodsParamList)&&goodsParamList.size()>0){ |
| | | for (int i = 0; i < goodsParamList.size(); i++) { |