22 changed files with 743 additions and 0 deletions
@ -0,0 +1,100 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" |
||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
|
<parent> |
||||
|
<artifactId>epdc-events</artifactId> |
||||
|
<groupId>com.esua.epdc</groupId> |
||||
|
<version>1.0.0</version> |
||||
|
</parent> |
||||
|
<modelVersion>4.0.0</modelVersion> |
||||
|
|
||||
|
<artifactId>epdc-events-maintain</artifactId> |
||||
|
<description>事件维护模块</description> |
||||
|
<packaging>jar</packaging> |
||||
|
|
||||
|
<dependencies> |
||||
|
<dependency> |
||||
|
<groupId>com.esua.epdc</groupId> |
||||
|
<artifactId>epdc-events-client</artifactId> |
||||
|
<version>1.0.0</version> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>com.esua.epdc</groupId> |
||||
|
<artifactId>epdc-commons-tools</artifactId> |
||||
|
<version>1.0.0</version> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>com.esua.epdc</groupId> |
||||
|
<artifactId>epdc-commons-mybatis</artifactId> |
||||
|
<version>1.0.0</version> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>com.esua.epdc</groupId> |
||||
|
<artifactId>epdc-commons-api-version-control</artifactId> |
||||
|
<version>${project.version}</version> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>org.springframework.boot</groupId> |
||||
|
<artifactId>spring-boot-starter-web</artifactId> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>org.springframework</groupId> |
||||
|
<artifactId>spring-context-support</artifactId> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>org.apache.rocketmq</groupId> |
||||
|
<artifactId>rocketmq-spring-boot-starter</artifactId> |
||||
|
<version>2.0.2</version> |
||||
|
</dependency> |
||||
|
</dependencies> |
||||
|
|
||||
|
<build> |
||||
|
<finalName>${project.artifactId}</finalName> |
||||
|
<plugins> |
||||
|
<plugin> |
||||
|
<groupId>org.apache.maven.plugins</groupId> |
||||
|
<artifactId>maven-surefire-plugin</artifactId> |
||||
|
<configuration> |
||||
|
<skipTests>true</skipTests> |
||||
|
</configuration> |
||||
|
</plugin> |
||||
|
<plugin> |
||||
|
<groupId>org.apache.maven.plugins</groupId> |
||||
|
<artifactId>maven-deploy-plugin</artifactId> |
||||
|
<configuration> |
||||
|
<skip>true</skip> |
||||
|
</configuration> |
||||
|
</plugin> |
||||
|
<plugin> |
||||
|
<groupId>com.spotify</groupId> |
||||
|
<artifactId>dockerfile-maven-plugin</artifactId> |
||||
|
</plugin> |
||||
|
</plugins> |
||||
|
|
||||
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
||||
|
|
||||
|
<resources> |
||||
|
<resource> |
||||
|
<filtering>true</filtering> |
||||
|
<directory>${basedir}/src/main/resources</directory> |
||||
|
<includes> |
||||
|
<include>**/application*.yml</include> |
||||
|
<include>**/*.properties</include> |
||||
|
<include>logback-spring.xml</include> |
||||
|
<include>registry.conf</include> |
||||
|
</includes> |
||||
|
</resource> |
||||
|
<resource> |
||||
|
<directory>${basedir}/src/main/resources</directory> |
||||
|
<excludes> |
||||
|
<exclude>**/application*.yml</exclude> |
||||
|
<exclude>**/*.properties</exclude> |
||||
|
<exclude>logback-spring.xml</exclude> |
||||
|
<exclude>registry.conf</exclude> |
||||
|
</excludes> |
||||
|
</resource> |
||||
|
</resources> |
||||
|
</build> |
||||
|
|
||||
|
</project> |
@ -0,0 +1,12 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.events.controller; |
||||
|
|
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("maintainevents") |
||||
|
public class MaintainEpdcEventsController { |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.events.dao; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.events.entity.MaintainEpdcEventsEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface MaintainEpdcEventsDao extends BaseDao<MaintainEpdcEventsEntity> { |
||||
|
} |
@ -0,0 +1,135 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.events.entity; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper=false) |
||||
|
@TableName("epdc_events") |
||||
|
public class MaintainEpdcEventsEntity extends BaseEpdcEntity { |
||||
|
private static final long serialVersionUID = 7460394882047700143L; |
||||
|
|
||||
|
/** |
||||
|
* 事件ID |
||||
|
*/ |
||||
|
private String id; |
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
/** |
||||
|
* 用户昵称 |
||||
|
*/ |
||||
|
private String nickName; |
||||
|
/** |
||||
|
* 用户头像 |
||||
|
*/ |
||||
|
private String userFace; |
||||
|
/** |
||||
|
* 党员标识 0:否,1:是 |
||||
|
*/ |
||||
|
private String isPartyMember; |
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
/** |
||||
|
* 议题内容 |
||||
|
*/ |
||||
|
private String eventContent; |
||||
|
|
||||
|
/** |
||||
|
* 父所有部门ID |
||||
|
*/ |
||||
|
private String parentDeptIds; |
||||
|
/** |
||||
|
* 父所有部门 |
||||
|
*/ |
||||
|
private String parentDeptNames; |
||||
|
/** |
||||
|
* 所有部门ID |
||||
|
*/ |
||||
|
private String allDeptIds; |
||||
|
/** |
||||
|
* 所有部门 |
||||
|
*/ |
||||
|
private String allDeptNames; |
||||
|
/** |
||||
|
* 网格 |
||||
|
*/ |
||||
|
private String grid; |
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private Long gridId; |
||||
|
/** |
||||
|
* 议题位置地址 |
||||
|
*/ |
||||
|
private String issueAddress; |
||||
|
/** |
||||
|
* 议题分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
/** |
||||
|
* 议题位置纬度 |
||||
|
*/ |
||||
|
private Double issueLatitude; |
||||
|
/** |
||||
|
* 议题位置经度 |
||||
|
*/ |
||||
|
private Double issueLongitude; |
||||
|
/** |
||||
|
* 事件状态 0-待审核,2-驳回,4-审核通过 |
||||
|
*/ |
||||
|
private Integer eventState; |
||||
|
/** |
||||
|
* 意见 |
||||
|
*/ |
||||
|
private String advice; |
||||
|
/** |
||||
|
* 点赞次数 |
||||
|
*/ |
||||
|
private Integer approveNum; |
||||
|
/** |
||||
|
* 踩次数 |
||||
|
*/ |
||||
|
private Integer opposeNum; |
||||
|
/** |
||||
|
* 评论数 |
||||
|
*/ |
||||
|
private Integer commentNum; |
||||
|
/** |
||||
|
* 浏览数 |
||||
|
*/ |
||||
|
private Integer browseNum; |
||||
|
|
||||
|
/** |
||||
|
* 社群ID |
||||
|
*/ |
||||
|
private String groupId; |
||||
|
|
||||
|
/** |
||||
|
* 社群名称 |
||||
|
*/ |
||||
|
private String groupName; |
||||
|
|
||||
|
/** |
||||
|
* 话题ID |
||||
|
*/ |
||||
|
private String topicId; |
||||
|
|
||||
|
/** |
||||
|
* 一级分类编码 |
||||
|
*/ |
||||
|
private String firstCategoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类全称 |
||||
|
*/ |
||||
|
private String categoryFullName; |
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.events.service; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.BaseService; |
||||
|
import com.elink.esua.epdc.maintain.modules.events.entity.MaintainEpdcEventsEntity; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
public interface MaintainEpdcEventsService extends BaseService<MaintainEpdcEventsEntity> { |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.events.service.impl; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl; |
||||
|
import com.elink.esua.epdc.maintain.modules.events.dao.MaintainEpdcEventsDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.events.entity.MaintainEpdcEventsEntity; |
||||
|
import com.elink.esua.epdc.maintain.modules.events.service.MaintainEpdcEventsService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Service |
||||
|
public class MaintainEpdcEventsServiceImpl extends BaseServiceImpl<MaintainEpdcEventsDao, MaintainEpdcEventsEntity> implements MaintainEpdcEventsService { |
||||
|
} |
@ -0,0 +1,9 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.issue.controller; |
||||
|
|
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@RestController |
||||
|
@RequestMapping("maintainissue") |
||||
|
public class MaintainEpdcIssueController { |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.issue.dao; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.issue.entity.MaintainEpdcIssueEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface MaintainEpdcIssueDao extends BaseDao<MaintainEpdcIssueEntity> { |
||||
|
} |
@ -0,0 +1,139 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.issue.entity; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = false) |
||||
|
@TableName("epdc_issue") |
||||
|
public class MaintainEpdcIssueEntity extends BaseEpdcEntity { |
||||
|
private static final long serialVersionUID = -3024955873619986266L; |
||||
|
|
||||
|
/** |
||||
|
* 事件ID |
||||
|
*/ |
||||
|
private String eventId; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 用户昵称 |
||||
|
*/ |
||||
|
private String nickName; |
||||
|
|
||||
|
/** |
||||
|
* 用户头像 |
||||
|
*/ |
||||
|
private String userFace; |
||||
|
|
||||
|
/** |
||||
|
* 党员标识 0:否,1:是 |
||||
|
*/ |
||||
|
private String isPartyMember; |
||||
|
|
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
|
||||
|
/** |
||||
|
* 议题内容 |
||||
|
*/ |
||||
|
private String issueContent; |
||||
|
|
||||
|
/** |
||||
|
* 发布时间 |
||||
|
*/ |
||||
|
private Date distributeTime; |
||||
|
|
||||
|
/** |
||||
|
* 父所有部门ID |
||||
|
*/ |
||||
|
private String parentDeptIds; |
||||
|
/** |
||||
|
* 父所有部门 |
||||
|
*/ |
||||
|
private String parentDeptNames; |
||||
|
/** |
||||
|
* 所有部门ID |
||||
|
*/ |
||||
|
private String allDeptIds; |
||||
|
/** |
||||
|
* 所有部门 |
||||
|
*/ |
||||
|
private String allDeptNames; |
||||
|
|
||||
|
/** |
||||
|
* 网格 |
||||
|
*/ |
||||
|
private String grid; |
||||
|
|
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private Long gridId; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置地址 |
||||
|
*/ |
||||
|
private String issueAddress; |
||||
|
|
||||
|
/** |
||||
|
* 议题分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置纬度 |
||||
|
*/ |
||||
|
private Double issueLatitude; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置经度 |
||||
|
*/ |
||||
|
private Double issueLongitude; |
||||
|
|
||||
|
/** |
||||
|
* 议题状态 0-审核通过,2-已关闭,4-已转项目 |
||||
|
*/ |
||||
|
private Integer issueState; |
||||
|
|
||||
|
/** |
||||
|
* 社群ID |
||||
|
*/ |
||||
|
private String groupId; |
||||
|
|
||||
|
/** |
||||
|
* 社群名称 |
||||
|
*/ |
||||
|
private String groupName; |
||||
|
|
||||
|
/** |
||||
|
* 话题ID |
||||
|
*/ |
||||
|
private String topicId; |
||||
|
/** |
||||
|
* 一级分类编码 |
||||
|
*/ |
||||
|
private String firstCategoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类全称 |
||||
|
*/ |
||||
|
private String categoryFullName; |
||||
|
|
||||
|
/** |
||||
|
* 议题编号 |
||||
|
*/ |
||||
|
private String issueCode; |
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.issue.service; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.BaseService; |
||||
|
import com.elink.esua.epdc.maintain.modules.issue.entity.MaintainEpdcIssueEntity; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
public interface MaintainEpdcIssueService extends BaseService<MaintainEpdcIssueEntity> { |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.issue.service.impl; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl; |
||||
|
import com.elink.esua.epdc.maintain.modules.issue.dao.MaintainEpdcIssueDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.issue.entity.MaintainEpdcIssueEntity; |
||||
|
import com.elink.esua.epdc.maintain.modules.issue.service.MaintainEpdcIssueService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Service |
||||
|
public class MaintainEpdcIssueServiceImpl extends BaseServiceImpl<MaintainEpdcIssueDao, MaintainEpdcIssueEntity> implements MaintainEpdcIssueService { |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.item.controller; |
||||
|
|
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("maintainitem") |
||||
|
public class MaintainEpdcItemController { |
||||
|
} |
@ -0,0 +1,12 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.item.dao; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.item.entity.MaintainEpdcItemEntity; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface MaintainEpdcItemDao extends BaseDao<MaintainEpdcItemEntity> { |
||||
|
} |
@ -0,0 +1,182 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.item.entity; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity; |
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = false) |
||||
|
@TableName("epdc_item") |
||||
|
public class MaintainEpdcItemEntity extends BaseEpdcEntity { |
||||
|
private static final long serialVersionUID = 8116615354798453854L; |
||||
|
|
||||
|
/** |
||||
|
* 事件ID |
||||
|
*/ |
||||
|
private String eventId; |
||||
|
|
||||
|
/** |
||||
|
* 议题ID |
||||
|
*/ |
||||
|
private String issueId; |
||||
|
|
||||
|
/** |
||||
|
* 用户ID |
||||
|
*/ |
||||
|
private String userId; |
||||
|
|
||||
|
/** |
||||
|
* 用户昵称 |
||||
|
*/ |
||||
|
private String nickName; |
||||
|
|
||||
|
/** |
||||
|
* 用户头像 |
||||
|
*/ |
||||
|
private String userFace; |
||||
|
|
||||
|
/** |
||||
|
* 党员标识 0:否,1:是 |
||||
|
*/ |
||||
|
private String isPartyMember; |
||||
|
|
||||
|
/** |
||||
|
* 议题内容 |
||||
|
*/ |
||||
|
private String itemContent; |
||||
|
|
||||
|
/** |
||||
|
* 发布时间 |
||||
|
*/ |
||||
|
private Date distributeTime; |
||||
|
|
||||
|
/** |
||||
|
* 父所有部门ID |
||||
|
*/ |
||||
|
private String parentDeptIds; |
||||
|
/** |
||||
|
* 父所有部门 |
||||
|
*/ |
||||
|
private String parentDeptNames; |
||||
|
/** |
||||
|
* 所有部门ID |
||||
|
*/ |
||||
|
private String allDeptIds; |
||||
|
/** |
||||
|
* 所有部门 |
||||
|
*/ |
||||
|
private String allDeptNames; |
||||
|
|
||||
|
/** |
||||
|
* 网格 |
||||
|
*/ |
||||
|
private String grid; |
||||
|
|
||||
|
/** |
||||
|
* 网格ID |
||||
|
*/ |
||||
|
private Long gridId; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置地址 |
||||
|
*/ |
||||
|
private String issueAddress; |
||||
|
|
||||
|
/** |
||||
|
* 议题分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置纬度 |
||||
|
*/ |
||||
|
private Double issueLatitude; |
||||
|
|
||||
|
/** |
||||
|
* 议题位置经度 |
||||
|
*/ |
||||
|
private Double issueLongitude; |
||||
|
|
||||
|
/** |
||||
|
* 满意度评价得分 |
||||
|
*/ |
||||
|
private Integer evaluationScore; |
||||
|
/** |
||||
|
* 满意度评价内容 |
||||
|
*/ |
||||
|
private String evaluationContent; |
||||
|
/** |
||||
|
* 满意度评价时间 |
||||
|
*/ |
||||
|
private Date evaluationTime; |
||||
|
|
||||
|
/** |
||||
|
* 项目状态 0-处理中,5-已关闭,10-已结案 |
||||
|
*/ |
||||
|
private Integer itemState; |
||||
|
|
||||
|
/** |
||||
|
* 手机号 |
||||
|
*/ |
||||
|
private String mobile; |
||||
|
|
||||
|
/** |
||||
|
* 社群ID |
||||
|
*/ |
||||
|
private String groupId; |
||||
|
|
||||
|
/** |
||||
|
* 社群名称 |
||||
|
*/ |
||||
|
private String groupName; |
||||
|
|
||||
|
/** |
||||
|
* 最后一次处理时间 |
||||
|
*/ |
||||
|
private Date lastHandleTime; |
||||
|
|
||||
|
/** |
||||
|
* 话题ID |
||||
|
*/ |
||||
|
private String topicId; |
||||
|
/** |
||||
|
* 一级分类编码 |
||||
|
*/ |
||||
|
private String firstCategoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类全称 |
||||
|
*/ |
||||
|
private String categoryFullName; |
||||
|
|
||||
|
/** |
||||
|
* 项目编号 |
||||
|
*/ |
||||
|
private String itemCode; |
||||
|
|
||||
|
/** |
||||
|
* 置顶标识:0-否,1-是 |
||||
|
*/ |
||||
|
private String topFlag; |
||||
|
|
||||
|
/** |
||||
|
* 置顶时间 |
||||
|
*/ |
||||
|
private String topTime; |
||||
|
|
||||
|
/** |
||||
|
* 置顶人ID |
||||
|
*/ |
||||
|
private String topUserId; |
||||
|
|
||||
|
/** |
||||
|
* 置顶人 |
||||
|
*/ |
||||
|
private String topUserName; |
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.item.service; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.BaseService; |
||||
|
import com.elink.esua.epdc.maintain.modules.item.entity.MaintainEpdcItemEntity; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
public interface MaintainEpdcItemService extends BaseService<MaintainEpdcItemEntity> { |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
package com.elink.esua.epdc.maintain.modules.item.service.impl; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl; |
||||
|
import com.elink.esua.epdc.maintain.modules.item.dao.MaintainEpdcItemDao; |
||||
|
import com.elink.esua.epdc.maintain.modules.item.entity.MaintainEpdcItemEntity; |
||||
|
import com.elink.esua.epdc.maintain.modules.item.service.MaintainEpdcItemService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @author Liuchuang |
||||
|
*/ |
||||
|
@Service |
||||
|
public class MaintainEpdcItemServiceImpl extends BaseServiceImpl<MaintainEpdcItemDao, MaintainEpdcItemEntity> implements MaintainEpdcItemService { |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
mybatis-plus: |
||||
|
mapper-locations: classpath:/mapper/**/*.xml |
||||
|
#实体扫描,多个package用逗号或者分号分隔 |
||||
|
typeAliasesPackage: com.elink.esua.epdc.modules.*.entity |
||||
|
global-config: |
||||
|
#数据库相关配置 |
||||
|
db-config: |
||||
|
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; |
||||
|
id-type: UUID |
||||
|
#字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断" |
||||
|
field-strategy: NOT_NULL |
||||
|
#驼峰下划线转换 |
||||
|
column-underline: true |
||||
|
banner: false |
||||
|
#原生配置 |
||||
|
configuration: |
||||
|
map-underscore-to-camel-case: true |
||||
|
cache-enabled: false |
||||
|
call-setters-on-nulls: true |
||||
|
jdbc-type-for-null: 'null' |
@ -0,0 +1,6 @@ |
|||||
|
<?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.elink.esua.epdc.maintain.modules.events.dao.MaintainEpdcEventsDao"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,6 @@ |
|||||
|
<?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.elink.esua.epdc.maintain.modules.issue.dao.MaintainEpdcIssueDao"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,6 @@ |
|||||
|
<?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.elink.esua.epdc.maintain.modules.item.dao.MaintainEpdcItemDao"> |
||||
|
|
||||
|
</mapper> |
Loading…
Reference in new issue