采集点代码生成
							parent
							
								
									8f67e20d19
								
							
						
					
					
						commit
						9278b88162
					
				| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.basic; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectBustypeEntity; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface BasicCollectBustypeMapper extends BaseMapper<BasicCollectBustypeEntity> { | ||||
| } | ||||
| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.basic; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectPointEntity; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface BasicCollectPointMapper extends BaseMapper<BasicCollectPointEntity> { | ||||
| } | ||||
| @ -0,0 +1,9 @@ | ||||
| package com.glxp.api.dao.basic; | ||||
| 
 | ||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectUserEntity; | ||||
| import org.apache.ibatis.annotations.Mapper; | ||||
| 
 | ||||
| @Mapper | ||||
| public interface BasicCollectUserMapper extends BaseMapper<BasicCollectUserEntity> { | ||||
| } | ||||
| @ -0,0 +1,55 @@ | ||||
| package com.glxp.api.entity.basic; | ||||
| 
 | ||||
| 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 io.swagger.annotations.ApiModel; | ||||
| import io.swagger.annotations.ApiModelProperty; | ||||
| import java.io.Serializable; | ||||
| import java.util.Date; | ||||
| import lombok.Data; | ||||
| 
 | ||||
| /** | ||||
|     * 采集点与用户的关联表 | ||||
|     */ | ||||
| @ApiModel(value="com-glxp-api-entity-basic-BasicCollectUser") | ||||
| @Data | ||||
| @TableName(value = "basic_collect_user") | ||||
| public class BasicCollectUserEntity implements Serializable { | ||||
|     @TableId(value = "id", type = IdType.INPUT) | ||||
|     @ApiModelProperty(value="") | ||||
|     private Integer id; | ||||
| 
 | ||||
|     /** | ||||
|      * 采集点编码 | ||||
|      */ | ||||
|     @TableField(value = "collectCode") | ||||
|     @ApiModelProperty(value="采集点编码") | ||||
|     private String collectCode; | ||||
| 
 | ||||
|     /** | ||||
|      * 用户ID | ||||
|      */ | ||||
|     @TableField(value = "userId") | ||||
|     @ApiModelProperty(value="用户ID") | ||||
|     private Long userId; | ||||
| 
 | ||||
|     @TableField(value = "createTime") | ||||
|     @ApiModelProperty(value="") | ||||
|     private Date createTime; | ||||
| 
 | ||||
|     @TableField(value = "updateTime") | ||||
|     @ApiModelProperty(value="") | ||||
|     private Date updateTime; | ||||
| 
 | ||||
|     @TableField(value = "`createUser`") | ||||
|     @ApiModelProperty(value="") | ||||
|     private String createUser; | ||||
| 
 | ||||
|     @TableField(value = "updateUser") | ||||
|     @ApiModelProperty(value="") | ||||
|     private String updateUser; | ||||
| 
 | ||||
|     private static final long serialVersionUID = 1L; | ||||
| } | ||||
| @ -0,0 +1,10 @@ | ||||
| package com.glxp.api.service.basic; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.dao.basic.BasicCollectBustypeMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectBustypeEntity; | ||||
| @Service | ||||
| public class BasicCollectBustypeService extends ServiceImpl<BasicCollectBustypeMapper, BasicCollectBustypeEntity> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,10 @@ | ||||
| package com.glxp.api.service.basic; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.dao.basic.BasicCollectPointMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectPointEntity; | ||||
| @Service | ||||
| public class BasicCollectPointService extends ServiceImpl<BasicCollectPointMapper, BasicCollectPointEntity> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,10 @@ | ||||
| package com.glxp.api.service.basic; | ||||
| 
 | ||||
| import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| import com.glxp.api.dao.basic.BasicCollectUserMapper; | ||||
| import com.glxp.api.entity.basic.BasicCollectUserEntity; | ||||
| @Service | ||||
| public class BasicCollectUserService extends ServiceImpl<BasicCollectUserMapper, BasicCollectUserEntity> { | ||||
| 
 | ||||
| } | ||||
| @ -0,0 +1,4 @@ | ||||
| <?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.basic.BasicCollectBustypeMapper"> | ||||
| </mapper> | ||||
| @ -0,0 +1,4 @@ | ||||
| <?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.basic.BasicCollectPointMapper"> | ||||
| </mapper> | ||||
| @ -0,0 +1,4 @@ | ||||
| <?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.basic.BasicCollectUserMapper"> | ||||
| </mapper> | ||||
					Loading…
					
					
				
		Reference in New Issue