盘点问题,service类生成
							parent
							
								
									e53afb5e33
								
							
						
					
					
						commit
						600dc8edf8
					
				| @ -0,0 +1,9 @@ | |||||||
|  | package com.glxp.api.dao.thrsys; | ||||||
|  | 
 | ||||||
|  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||||
|  | import com.glxp.api.entity.thrsys.ThrConsumeMaterialCategory; | ||||||
|  | import org.apache.ibatis.annotations.Mapper; | ||||||
|  | 
 | ||||||
|  | @Mapper | ||||||
|  | public interface ThrConsumeMaterialCategoryMapper extends BaseMapper<ThrConsumeMaterialCategory> { | ||||||
|  | } | ||||||
| @ -0,0 +1,12 @@ | |||||||
|  | package com.glxp.api.service.thrsys; | ||||||
|  | 
 | ||||||
|  | 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.thrsys.ThrConsumeMaterialCategory; | ||||||
|  | import com.glxp.api.dao.thrsys.ThrConsumeMaterialCategoryMapper; | ||||||
|  | @Service | ||||||
|  | public class ThrConsumeMaterialCategoryService extends ServiceImpl<ThrConsumeMaterialCategoryMapper, ThrConsumeMaterialCategory> { | ||||||
|  | 
 | ||||||
|  | } | ||||||
| @ -0,0 +1,23 @@ | |||||||
|  | <?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.thrsys.ThrConsumeMaterialCategoryMapper"> | ||||||
|  |   <resultMap id="BaseResultMap" type="com.glxp.api.entity.thrsys.ThrConsumeMaterialCategory"> | ||||||
|  |     <!--@mbg.generated--> | ||||||
|  |     <!--@Table thr_consume_material_category--> | ||||||
|  |     <id column="categoryId" jdbcType="BIGINT" property="categoryId" /> | ||||||
|  |     <result column="parentCategoryId" jdbcType="BIGINT" property="parentCategoryId" /> | ||||||
|  |     <result column="categoryName" jdbcType="VARCHAR" property="categoryName" /> | ||||||
|  |     <result column="description" jdbcType="VARCHAR" property="description" /> | ||||||
|  |     <result column="level" jdbcType="INTEGER" property="level" /> | ||||||
|  |     <result column="createUser" jdbcType="VARCHAR" property="createUser" /> | ||||||
|  |     <result column="createTime" jdbcType="TIMESTAMP" property="createTime" /> | ||||||
|  |     <result column="updateUser" jdbcType="VARCHAR" property="updateUser" /> | ||||||
|  |     <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" /> | ||||||
|  |     <result column="remark" jdbcType="VARCHAR" property="remark" /> | ||||||
|  |   </resultMap> | ||||||
|  |   <sql id="Base_Column_List"> | ||||||
|  |     <!--@mbg.generated--> | ||||||
|  |     categoryId, parentCategoryId, categoryName, description, `level`, `createUser`, createTime,  | ||||||
|  |     updateUser, updateTime, remark | ||||||
|  |   </sql> | ||||||
|  | </mapper> | ||||||
					Loading…
					
					
				
		Reference in New Issue