| | |
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.homemodule.CommonShareInfoMapper;
|
| | | import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo;
|
| | | import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo.CommonShareInfoEnum;
|
| | | import com.yeshi.fanli.exception.goods.ConvertLinkExceptionException;
|
| | | import com.yeshi.fanli.exception.homemodule.SpecialException;
|
| | | import com.yeshi.fanli.service.inter.homemodule.CommonShareInfoService;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | // 重置id
|
| | | record.setId(null);
|
| | | |
| | | CommonShareInfo info = commonShareInfoMapper.getByPidAndType(record.getPid(), record.getType().name());
|
| | | if (info == null) {
|
| | | commonShareInfoMapper.insertSelective(record);
|