|
|
@@ -4,6 +4,7 @@ import com.goafanti.common.dao.StandardPlatformLinkMapper;
|
|
|
import com.goafanti.common.model.StandardPlatformLink;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.core.mybatis.page.Pagination;
|
|
|
+import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.standard.service.StandardPlatformLinkService;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -15,7 +16,7 @@ import java.util.Map;
|
|
|
* 标准平台连接(StandardPlatformLink)表服务实现类
|
|
|
*
|
|
|
* @author makejava
|
|
|
- * @since 2024-07-02 09:36:10
|
|
|
+ * @since 2024-07-02 09:43:35
|
|
|
*/
|
|
|
@Service("standardPlatformLinkService")
|
|
|
public class StandardPlatformLinkServiceImpl extends BaseMybatisDao<StandardPlatformLinkMapper> implements StandardPlatformLinkService {
|
|
|
@@ -45,13 +46,14 @@ public class StandardPlatformLinkServiceImpl extends BaseMybatisDao<StandardPlat
|
|
|
/**
|
|
|
* 新增数据
|
|
|
*
|
|
|
- * @param standardPlatformLink 实例对象
|
|
|
+ * @param in 实例对象
|
|
|
* @return 实例对象
|
|
|
*/
|
|
|
@Override
|
|
|
- public StandardPlatformLink insert(StandardPlatformLink standardPlatformLink) {
|
|
|
- this.standardPlatformLinkMapper.insert(standardPlatformLink);
|
|
|
- return standardPlatformLink;
|
|
|
+ public StandardPlatformLink insert(StandardPlatformLink in) {
|
|
|
+ in.setAid(TokenManager.getAdminId());
|
|
|
+ this.standardPlatformLinkMapper.insert(in);
|
|
|
+ return in;
|
|
|
}
|
|
|
|
|
|
/**
|