新增同步操作日志相关方法
							parent
							
								
									161e457797
								
							
						
					
					
						commit
						cc2cd0b511
					
				| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.sync; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.sync.SyncEditLog; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface SyncEditLogMapper extends BaseMapper<SyncEditLog> { | ||||
| } | ||||
| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.sync; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.sync.SyncEditType; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface SyncEditTypeMapper extends BaseMapper<SyncEditType> { | ||||
| } | ||||
| @ -0,0 +1,35 @@ | ||||
| package com.glxp.api.entity.sync; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableField; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import java.io.Serializable; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| @Data | ||||
| @TableName(value = "sync_edit_type") | ||||
| public class SyncEditType implements Serializable { | ||||
|     @TableId(value = "id", type = IdType.INPUT) | ||||
|     private Integer id; | ||||
| 
 | ||||
|     /** | ||||
|      * 操作类型 | ||||
|      */ | ||||
|     @TableField(value = "code") | ||||
|     private String code; | ||||
| 
 | ||||
|     /** | ||||
|      * 操作类型名称 | ||||
|      */ | ||||
|     @TableField(value = "`name`") | ||||
|     private String name; | ||||
| 
 | ||||
|     /** | ||||
|      * 备注 | ||||
|      */ | ||||
|     @TableField(value = "remark") | ||||
|     private String remark; | ||||
| 
 | ||||
|     private static final long serialVersionUID = 1L; | ||||
| } | ||||
| @ -0,0 +1,12 @@ | ||||
| package com.glxp.api.service.sync; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import javax.annotation.Resource; | ||||
| import java.util.List; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.entity.sync.SyncEditLog; | ||||
| import com.glxp.api.dao.sync.SyncEditLogMapper; | ||||
| @Service | ||||
| public class SyncEditLogService extends ServiceImpl<SyncEditLogMapper, SyncEditLog> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,12 @@ | ||||
| package com.glxp.api.service.sync; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import javax.annotation.Resource; | ||||
| import java.util.List; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.dao.sync.SyncEditTypeMapper; | ||||
| import com.glxp.api.entity.sync.SyncEditType; | ||||
| @Service | ||||
| public class SyncEditTypeService extends ServiceImpl<SyncEditTypeMapper, SyncEditType> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,24 @@ | ||||
| <?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.glxp.api.dao.sync.SyncEditLogMapper"> | ||||
|   <resultMap id="BaseResultMap" type="com.glxp.api.entity.sync.SyncEditLog"> | ||||
|     <!--@mbg.generated--> | ||||
|     <!--@Table sync_edit_log--> | ||||
|     <id column="id" jdbcType="INTEGER" property="id" /> | ||||
|     <result column="recordCode" jdbcType="VARCHAR" property="recordCode" /> | ||||
|     <result column="operType" jdbcType="TINYINT" property="operType" /> | ||||
|     <result column="dataType" jdbcType="VARCHAR" property="dataType" /> | ||||
|     <result column="url" jdbcType="VARCHAR" property="url" /> | ||||
|     <result column="param" jdbcType="VARCHAR" property="param" /> | ||||
|     <result column="jsonResult" jdbcType="VARCHAR" property="jsonResult" /> | ||||
|     <result column="directType" jdbcType="TINYINT" property="directType" /> | ||||
|     <result column="remark" jdbcType="VARCHAR" property="remark" /> | ||||
|     <result column="operUser" jdbcType="VARCHAR" property="operUser" /> | ||||
|     <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" /> | ||||
|   </resultMap> | ||||
|   <sql id="Base_Column_List"> | ||||
|     <!--@mbg.generated--> | ||||
|     id, recordCode, operType, dataType, url, param, jsonResult, directType, remark, operUser,  | ||||
|     updateTime | ||||
|   </sql> | ||||
| </mapper> | ||||
| @ -0,0 +1,16 @@ | ||||
| <?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.glxp.api.dao.sync.SyncEditTypeMapper"> | ||||
|   <resultMap id="BaseResultMap" type="com.glxp.api.entity.sync.SyncEditType"> | ||||
|     <!--@mbg.generated--> | ||||
|     <!--@Table sync_edit_type--> | ||||
|     <id column="id" jdbcType="INTEGER" property="id" /> | ||||
|     <result column="code" jdbcType="VARCHAR" property="code" /> | ||||
|     <result column="name" jdbcType="VARCHAR" property="name" /> | ||||
|     <result column="remark" jdbcType="VARCHAR" property="remark" /> | ||||
|   </resultMap> | ||||
|   <sql id="Base_Column_List"> | ||||
|     <!--@mbg.generated--> | ||||
|     id, code, `name`, remark | ||||
|   </sql> | ||||
| </mapper> | ||||
					Loading…
					
					
				
		Reference in New Issue