新增同步操作日志相关方法

dev2.0
anthonywj 2 years ago
parent cc2cd0b511
commit 40f8701bc2

@ -1,9 +1,9 @@
package com.glxp.api.dao.sync;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.api.entity.sync.SyncEditLog;
import com.glxp.api.entity.sync.SyncEditLogEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface SyncEditLogMapper extends BaseMapper<SyncEditLog> {
}
public interface SyncEditLogMapper extends BaseMapper<SyncEditLogEntity> {
}

@ -1,9 +1,9 @@
package com.glxp.api.dao.sync;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.api.entity.sync.SyncEditType;
import com.glxp.api.entity.sync.SyncEditTypeEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface SyncEditTypeMapper extends BaseMapper<SyncEditType> {
}
public interface SyncEditTypeMapper extends BaseMapper<SyncEditTypeEntity> {
}

@ -10,7 +10,7 @@ import lombok.Data;
@Data
@TableName(value = "sync_edit_log")
public class SyncEditLog implements Serializable {
public class SyncEditLogEntity implements Serializable {
@TableId(value = "id", type = IdType.INPUT)
private Integer id;
@ -75,4 +75,4 @@ public class SyncEditLog implements Serializable {
private Date updateTime;
private static final long serialVersionUID = 1L;
}
}

@ -9,7 +9,7 @@ import lombok.Data;
@Data
@TableName(value = "sync_edit_type")
public class SyncEditType implements Serializable {
public class SyncEditTypeEntity implements Serializable {
@TableId(value = "id", type = IdType.INPUT)
private Integer id;
@ -32,4 +32,4 @@ public class SyncEditType implements Serializable {
private String remark;
private static final long serialVersionUID = 1L;
}
}

@ -1,12 +1,10 @@
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.entity.sync.SyncEditLogEntity;
import com.glxp.api.dao.sync.SyncEditLogMapper;
@Service
public class SyncEditLogService extends ServiceImpl<SyncEditLogMapper, SyncEditLog> {
public class SyncEditLogService extends ServiceImpl<SyncEditLogMapper, SyncEditLogEntity> {
}

@ -1,12 +1,10 @@
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;
import com.glxp.api.entity.sync.SyncEditTypeEntity;
@Service
public class SyncEditTypeService extends ServiceImpl<SyncEditTypeMapper, SyncEditType> {
public class SyncEditTypeService extends ServiceImpl<SyncEditTypeMapper, SyncEditTypeEntity> {
}

@ -1,7 +1,7 @@
<?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">
<resultMap id="BaseResultMap" type="com.glxp.api.entity.sync.SyncEditLogEntity">
<!--@mbg.generated-->
<!--@Table sync_edit_log-->
<id column="id" jdbcType="INTEGER" property="id" />
@ -18,7 +18,7 @@
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, recordCode, operType, dataType, url, param, jsonResult, directType, remark, operUser,
id, recordCode, operType, dataType, url, param, jsonResult, directType, remark, operUser,
updateTime
</sql>
</mapper>
</mapper>

@ -1,7 +1,7 @@
<?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">
<resultMap id="BaseResultMap" type="com.glxp.api.entity.sync.SyncEditTypeEntity">
<!--@mbg.generated-->
<!--@Table sync_edit_type-->
<id column="id" jdbcType="INTEGER" property="id" />
@ -13,4 +13,4 @@
<!--@mbg.generated-->
id, code, `name`, remark
</sql>
</mapper>
</mapper>

Loading…
Cancel
Save