mybatisplus自动生成修复

This commit is contained in:
hupeng committed 2019-10-02 13:55:44 +08:00
1 parent 674dbab8ed
commit 62f8d1ed38
13 files changed
+5 -401

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ light-security:
mybatis-plus:
mapper-locations: classpath*:com/ruoyi/app/common/persistence/dao/mapping/*.xml
mapper-locations: classpath*:com/ruoyi/app/common/persistence/dao/mapping/*.xml,classpath*:mapper/**/*Mapper.xml
typeAliasesPackage: com.ruoyi.app.common.persistence.model
global-config:
banner: false
@@ -1,18 +0,0 @@
<?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.ruoyi.app.modular.distribution.mapper.StoreSubstituteMapper">
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, user_id, username, phone, city_info, address, product_info, create_time, updated_at
</sql>
<select id="getStoreSubstituteById" resultType="com.ruoyi.app.distribution.web.vo.StoreSubstituteQueryVo">
select <include refid="Base_Column_List"/> from store_substitute where id = #{id}
</select>
<select id="getStoreSubstitutePageList" resultType="com.ruoyi.app.distribution.web.vo.StoreSubstituteQueryVo">
select <include refid="Base_Column_List"/> from store_substitute
</select>
</mapper>
@@ -1,18 +0,0 @@
<?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.ruoyi.app.modular.distribution.mapper.StoreSubstituteMapper">
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, user_id, username, phone, city_info, address, product_info, create_time, updated_at
</sql>
<select id="getStoreSubstituteById" resultType="com.ruoyi.app.modular.distribution.web.vo.StoreSubstituteQueryVo">
select <include refid="Base_Column_List"/> from store_substitute where id = #{id}
</select>
<select id="getStoreSubstitutePageList" resultType="com.ruoyi.app.modular.distribution.web.vo.StoreSubstituteQueryVo">
select <include refid="Base_Column_List"/> from store_substitute
</select>
</mapper>