生产企业字典相关代码
parent
98951a39f0
commit
795cd78540
@ -0,0 +1,13 @@
|
||||
package com.glxp.api.controller.basic;
|
||||
|
||||
import com.glxp.api.controller.BaseController;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 生产企业字典
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
public class BasicManufacturerController extends BaseController {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.glxp.api.dao.basic;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.api.entity.basic.BasicManufacturerEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BasicManufacturerMapper extends BaseMapper<BasicManufacturerEntity> {
|
||||
}
|
@ -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.entity.basic.BasicManufacturerEntity;
|
||||
import com.glxp.api.dao.basic.BasicManufacturerMapper;
|
||||
@Service
|
||||
public class BasicManufacturerService extends ServiceImpl<BasicManufacturerMapper, BasicManufacturerEntity> {
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
<?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.BasicManufacturerMapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.api.entity.basic.BasicManufacturerEntity">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table basic_manufacturer-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="code" jdbcType="VARCHAR" property="code" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="spell" jdbcType="VARCHAR" property="spell" />
|
||||
<result column="addr" jdbcType="VARCHAR" property="addr" />
|
||||
<result column="status" jdbcType="VARCHAR" property="status" />
|
||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
||||
<result column="contact" jdbcType="VARCHAR" property="contact" />
|
||||
<result column="mobile" jdbcType="VARCHAR" property="mobile" />
|
||||
<result column="creditCode" jdbcType="VARCHAR" property="creditCode" />
|
||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||
<result column="thirdId" jdbcType="VARCHAR" property="thirdId" />
|
||||
<result column="thirdId1" jdbcType="VARCHAR" property="thirdId1" />
|
||||
<result column="thirdId2" jdbcType="VARCHAR" property="thirdId2" />
|
||||
<result column="thirdId3" jdbcType="VARCHAR" property="thirdId3" />
|
||||
<result column="thirdId4" jdbcType="VARCHAR" property="thirdId4" />
|
||||
<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" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, code, `name`, spell, addr, `status`, `type`, contact, mobile, creditCode, remark,
|
||||
thirdId, thirdId1, thirdId2, thirdId3, thirdId4, `createUser`, createTime, updateUser,
|
||||
updateTime
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue