Compare commits
	
		
			No commits in common. '74bce9432db27d5fd3987748b89993a79f698bec' and '93107afa10ab054c8bf2a8d6149fe6cf750c47f0' have entirely different histories. 
		
	
	
		
			74bce9432d
			...
			93107afa10
		
	
		
	| @ -1,16 +0,0 @@ | |||||||
| package com.pjilisense.flxai.dao; |  | ||||||
| 
 |  | ||||||
| import com.pjilisense.flxai.base.dao.BaseDao; |  | ||||||
| import com.pjilisense.flxai.entity.AppAiAssistantEntity; |  | ||||||
| import org.apache.ibatis.annotations.Mapper; |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * AI助手表 |  | ||||||
|  * |  | ||||||
|  * @author liushujing liushujing@philisense.com |  | ||||||
|  * @since 1.0.0 2024-12-13 |  | ||||||
|  */ |  | ||||||
| @Mapper |  | ||||||
| public interface AppAiAssistantDao extends BaseDao<AppAiAssistantEntity> { |  | ||||||
| 	 |  | ||||||
| } |  | ||||||
| @ -1,59 +0,0 @@ | |||||||
| package com.pjilisense.flxai.dto; |  | ||||||
| 
 |  | ||||||
| import io.swagger.annotations.ApiModel; |  | ||||||
| import io.swagger.annotations.ApiModelProperty; |  | ||||||
| import lombok.Data; |  | ||||||
| 
 |  | ||||||
| import java.io.Serializable; |  | ||||||
| import java.util.Date; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * AI助手表 |  | ||||||
|  * |  | ||||||
|  * @author liushujing liushujing@philisense.com |  | ||||||
|  * @since 1.0.0 2024-12-13 |  | ||||||
|  */ |  | ||||||
| @Data |  | ||||||
| @ApiModel(value = "AI助手表") |  | ||||||
| public class AppAiAssistantDTO implements Serializable { |  | ||||||
|     private static final long serialVersionUID = 1L; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "主键") |  | ||||||
| 	private String id; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "作者") |  | ||||||
| 	private String author; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "主页地址") |  | ||||||
| 	private String homepage; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "标识") |  | ||||||
| 	private String identifier; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "avatar") |  | ||||||
| 	private String avatar; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "描述") |  | ||||||
| 	private String description; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "标签") |  | ||||||
| 	private String tags; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "标题") |  | ||||||
| 	private String title; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "分类") |  | ||||||
| 	private String category; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "Version") |  | ||||||
| 	private String schemaVersion; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "创建时间") |  | ||||||
| 	private String createAt; |  | ||||||
| 
 |  | ||||||
| 	@ApiModelProperty(value = "时间") |  | ||||||
| 	private String createdAt; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| @ -1,66 +0,0 @@ | |||||||
| package com.pjilisense.flxai.entity; |  | ||||||
| 
 |  | ||||||
| import com.baomidou.mybatisplus.annotation.TableName; |  | ||||||
| import lombok.Data; |  | ||||||
| 
 |  | ||||||
| import java.util.Date; |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * AI助手表 |  | ||||||
|  * |  | ||||||
|  * @author liushujing liushujing@philisense.com |  | ||||||
|  * @since 1.0.0 2024-12-13 |  | ||||||
|  */ |  | ||||||
| @Data |  | ||||||
| @TableName("app_ai_assistant") |  | ||||||
| public class AppAiAssistantEntity { |  | ||||||
| 
 |  | ||||||
|     /** |  | ||||||
|      * 主键 |  | ||||||
|      */ |  | ||||||
| 	private String id; |  | ||||||
|     /** |  | ||||||
|      * 作者 |  | ||||||
|      */ |  | ||||||
| 	private String author; |  | ||||||
|     /** |  | ||||||
|      * 主页地址 |  | ||||||
|      */ |  | ||||||
| 	private String homepage; |  | ||||||
|     /** |  | ||||||
|      * 标识 |  | ||||||
|      */ |  | ||||||
| 	private String identifier; |  | ||||||
|     /** |  | ||||||
|      * avatar |  | ||||||
|      */ |  | ||||||
| 	private String avatar; |  | ||||||
|     /** |  | ||||||
|      * 描述 |  | ||||||
|      */ |  | ||||||
| 	private String description; |  | ||||||
|     /** |  | ||||||
|      * 标签 |  | ||||||
|      */ |  | ||||||
| 	private String tags; |  | ||||||
|     /** |  | ||||||
|      * 标题 |  | ||||||
|      */ |  | ||||||
| 	private String title; |  | ||||||
|     /** |  | ||||||
|      * 分类 |  | ||||||
|      */ |  | ||||||
| 	private String category; |  | ||||||
|     /** |  | ||||||
|      * Version |  | ||||||
|      */ |  | ||||||
| 	private String schemaVersion; |  | ||||||
|     /** |  | ||||||
|      * 创建时间 |  | ||||||
|      */ |  | ||||||
| 	private String createAt; |  | ||||||
|     /** |  | ||||||
|      * 时间 |  | ||||||
|      */ |  | ||||||
| 	private String createdAt; |  | ||||||
| } |  | ||||||
| @ -1,15 +0,0 @@ | |||||||
| package com.pjilisense.flxai.service; |  | ||||||
| 
 |  | ||||||
| import com.pjilisense.flxai.base.service.CrudService; |  | ||||||
| import com.pjilisense.flxai.dto.AppAiAssistantDTO; |  | ||||||
| import com.pjilisense.flxai.entity.AppAiAssistantEntity; |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * AI助手表 |  | ||||||
|  * |  | ||||||
|  * @author liushujing liushujing@philisense.com |  | ||||||
|  * @since 1.0.0 2024-12-13 |  | ||||||
|  */ |  | ||||||
| public interface AppAiAssistantService extends CrudService<AppAiAssistantEntity, AppAiAssistantDTO> { |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| @ -1,34 +0,0 @@ | |||||||
| package com.pjilisense.flxai.service.impl; |  | ||||||
| 
 |  | ||||||
| import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |  | ||||||
| import com.pjilisense.flxai.base.service.impl.CrudServiceImpl; |  | ||||||
| import com.pjilisense.flxai.dao.AppAiAssistantDao; |  | ||||||
| import com.pjilisense.flxai.dto.AppAiAssistantDTO; |  | ||||||
| import com.pjilisense.flxai.entity.AppAiAssistantEntity; |  | ||||||
| import com.pjilisense.flxai.service.AppAiAssistantService; |  | ||||||
| import cn.hutool.core.util.StrUtil; |  | ||||||
| import org.springframework.stereotype.Service; |  | ||||||
| 
 |  | ||||||
| import java.util.Map; |  | ||||||
| 
 |  | ||||||
| /** |  | ||||||
|  * AI助手表 |  | ||||||
|  * |  | ||||||
|  * @author liushujing liushujing@philisense.com |  | ||||||
|  * @since 1.0.0 2024-12-13 |  | ||||||
|  */ |  | ||||||
| @Service |  | ||||||
| public class AppAiAssistantServiceImpl extends CrudServiceImpl<AppAiAssistantDao, AppAiAssistantEntity, AppAiAssistantDTO> implements AppAiAssistantService { |  | ||||||
| 
 |  | ||||||
|     @Override |  | ||||||
|     public QueryWrapper<AppAiAssistantEntity> getWrapper(Map<String, Object> params){ |  | ||||||
|         String id = (String)params.get("id"); |  | ||||||
| 
 |  | ||||||
|         QueryWrapper<AppAiAssistantEntity> wrapper = new QueryWrapper<>(); |  | ||||||
|         wrapper.eq(StrUtil.isNotBlank(id), "id", id); |  | ||||||
| 
 |  | ||||||
|         return wrapper; |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| @ -1,22 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| 
 |  | ||||||
| <mapper namespace="com.pjilisense.flxai.dao.AppAiAssistantDao"> |  | ||||||
| 
 |  | ||||||
|     <resultMap type="com.pjilisense.flxai.entity.AppAiAssistantEntity" id="appAiAssistantMap"> |  | ||||||
|         <result property="id" column="id"/> |  | ||||||
|         <result property="author" column="author"/> |  | ||||||
|         <result property="homepage" column="homepage"/> |  | ||||||
|         <result property="identifier" column="identifier"/> |  | ||||||
|         <result property="avatar" column="avatar"/> |  | ||||||
|         <result property="description" column="description"/> |  | ||||||
|         <result property="tags" column="tags"/> |  | ||||||
|         <result property="title" column="title"/> |  | ||||||
|         <result property="category" column="category"/> |  | ||||||
|         <result property="schemaVersion" column="schema_version"/> |  | ||||||
|         <result property="createAt" column="create_at"/> |  | ||||||
|         <result property="createdAt" column="created_at"/> |  | ||||||
|     </resultMap> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| </mapper> |  | ||||||
					Loading…
					
					
				
		Reference in New Issue