Showing
13 changed files
with
528 additions
and
3 deletions
1 | +package com.yohoufo.dal.order; | ||
2 | + | ||
3 | +import com.yohoufo.dal.order.model.SellerEnterApply; | ||
4 | + | ||
5 | +public interface SellerEnterApplyMapper { | ||
6 | + int deleteByPrimaryKey(Integer id); | ||
7 | + | ||
8 | + int insert(SellerEnterApply record); | ||
9 | + | ||
10 | + int insertSelective(SellerEnterApply record); | ||
11 | + | ||
12 | + SellerEnterApply selectByPrimaryKey(Integer id); | ||
13 | + | ||
14 | + int updateByPrimaryKeySelective(SellerEnterApply record); | ||
15 | + | ||
16 | + int updateByPrimaryKey(SellerEnterApply record); | ||
17 | +} |
1 | +package com.yohoufo.dal.order; | ||
2 | + | ||
3 | +import com.yohoufo.dal.order.model.SellerFunc; | ||
4 | + | ||
5 | +public interface SellerFuncMapper { | ||
6 | + int deleteByPrimaryKey(Integer id); | ||
7 | + | ||
8 | + int insert(SellerFunc record); | ||
9 | + | ||
10 | + int insertSelective(SellerFunc record); | ||
11 | + | ||
12 | + SellerFunc selectByPrimaryKey(Integer id); | ||
13 | + | ||
14 | + int updateByPrimaryKeySelective(SellerFunc record); | ||
15 | + | ||
16 | + int updateByPrimaryKey(SellerFunc record); | ||
17 | +} |
1 | +package com.yohoufo.dal.order; | ||
2 | + | ||
3 | +import com.yohoufo.dal.order.model.SellerLevelFunc; | ||
4 | + | ||
5 | +public interface SellerLevelFuncMapper { | ||
6 | + int deleteByPrimaryKey(Integer id); | ||
7 | + | ||
8 | + int insert(SellerLevelFunc record); | ||
9 | + | ||
10 | + int insertSelective(SellerLevelFunc record); | ||
11 | + | ||
12 | + SellerLevelFunc selectByPrimaryKey(Integer id); | ||
13 | + | ||
14 | + int updateByPrimaryKeySelective(SellerLevelFunc record); | ||
15 | + | ||
16 | + int updateByPrimaryKey(SellerLevelFunc record); | ||
17 | +} |
1 | +package com.yohoufo.dal.order.model; | ||
2 | + | ||
3 | +public class SellerEnterApply { | ||
4 | + private Integer id; | ||
5 | + | ||
6 | + private Integer uid; | ||
7 | + | ||
8 | + private Long orderCode; | ||
9 | + | ||
10 | + private Integer preEnterType; | ||
11 | + | ||
12 | + private Integer enterType; | ||
13 | + | ||
14 | + private Integer createTime; | ||
15 | + | ||
16 | + private Integer updateTime; | ||
17 | + | ||
18 | + private Short status; | ||
19 | + | ||
20 | + public Integer getId() { | ||
21 | + return id; | ||
22 | + } | ||
23 | + | ||
24 | + public void setId(Integer id) { | ||
25 | + this.id = id; | ||
26 | + } | ||
27 | + | ||
28 | + public Integer getUid() { | ||
29 | + return uid; | ||
30 | + } | ||
31 | + | ||
32 | + public void setUid(Integer uid) { | ||
33 | + this.uid = uid; | ||
34 | + } | ||
35 | + | ||
36 | + public Long getOrderCode() { | ||
37 | + return orderCode; | ||
38 | + } | ||
39 | + | ||
40 | + public void setOrderCode(Long orderCode) { | ||
41 | + this.orderCode = orderCode; | ||
42 | + } | ||
43 | + | ||
44 | + public Integer getPreEnterType() { | ||
45 | + return preEnterType; | ||
46 | + } | ||
47 | + | ||
48 | + public void setPreEnterType(Integer preEnterType) { | ||
49 | + this.preEnterType = preEnterType; | ||
50 | + } | ||
51 | + | ||
52 | + public Integer getEnterType() { | ||
53 | + return enterType; | ||
54 | + } | ||
55 | + | ||
56 | + public void setEnterType(Integer enterType) { | ||
57 | + this.enterType = enterType; | ||
58 | + } | ||
59 | + | ||
60 | + public Integer getCreateTime() { | ||
61 | + return createTime; | ||
62 | + } | ||
63 | + | ||
64 | + public void setCreateTime(Integer createTime) { | ||
65 | + this.createTime = createTime; | ||
66 | + } | ||
67 | + | ||
68 | + public Integer getUpdateTime() { | ||
69 | + return updateTime; | ||
70 | + } | ||
71 | + | ||
72 | + public void setUpdateTime(Integer updateTime) { | ||
73 | + this.updateTime = updateTime; | ||
74 | + } | ||
75 | + | ||
76 | + public Short getStatus() { | ||
77 | + return status; | ||
78 | + } | ||
79 | + | ||
80 | + public void setStatus(Short status) { | ||
81 | + this.status = status; | ||
82 | + } | ||
83 | +} |
1 | +package com.yohoufo.dal.order.model; | ||
2 | + | ||
3 | +public class SellerFunc { | ||
4 | + private Integer id; | ||
5 | + | ||
6 | + private String cnName; | ||
7 | + | ||
8 | + private String enName; | ||
9 | + | ||
10 | + private Integer code; | ||
11 | + | ||
12 | + public Integer getId() { | ||
13 | + return id; | ||
14 | + } | ||
15 | + | ||
16 | + public void setId(Integer id) { | ||
17 | + this.id = id; | ||
18 | + } | ||
19 | + | ||
20 | + public String getCnName() { | ||
21 | + return cnName; | ||
22 | + } | ||
23 | + | ||
24 | + public void setCnName(String cnName) { | ||
25 | + this.cnName = cnName == null ? null : cnName.trim(); | ||
26 | + } | ||
27 | + | ||
28 | + public String getEnName() { | ||
29 | + return enName; | ||
30 | + } | ||
31 | + | ||
32 | + public void setEnName(String enName) { | ||
33 | + this.enName = enName == null ? null : enName.trim(); | ||
34 | + } | ||
35 | + | ||
36 | + public Integer getCode() { | ||
37 | + return code; | ||
38 | + } | ||
39 | + | ||
40 | + public void setCode(Integer code) { | ||
41 | + this.code = code; | ||
42 | + } | ||
43 | +} |
1 | +package com.yohoufo.dal.order.model; | ||
2 | + | ||
3 | +public class SellerLevelFunc { | ||
4 | + private Integer id; | ||
5 | + | ||
6 | + private Integer enterType; | ||
7 | + | ||
8 | + private Integer level; | ||
9 | + | ||
10 | + private String funcList; | ||
11 | + | ||
12 | + public Integer getId() { | ||
13 | + return id; | ||
14 | + } | ||
15 | + | ||
16 | + public void setId(Integer id) { | ||
17 | + this.id = id; | ||
18 | + } | ||
19 | + | ||
20 | + public Integer getEnterType() { | ||
21 | + return enterType; | ||
22 | + } | ||
23 | + | ||
24 | + public void setEnterType(Integer enterType) { | ||
25 | + this.enterType = enterType; | ||
26 | + } | ||
27 | + | ||
28 | + public Integer getLevel() { | ||
29 | + return level; | ||
30 | + } | ||
31 | + | ||
32 | + public void setLevel(Integer level) { | ||
33 | + this.level = level; | ||
34 | + } | ||
35 | + | ||
36 | + public String getFuncList() { | ||
37 | + return funcList; | ||
38 | + } | ||
39 | + | ||
40 | + public void setFuncList(String funcList) { | ||
41 | + this.funcList = funcList == null ? null : funcList.trim(); | ||
42 | + } | ||
43 | +} |
@@ -39,4 +39,8 @@ public class StoredSeller { | @@ -39,4 +39,8 @@ public class StoredSeller { | ||
39 | private Integer breakZhiMaCert; | 39 | private Integer breakZhiMaCert; |
40 | 40 | ||
41 | private Integer entryType; | 41 | private Integer entryType; |
42 | + | ||
43 | + private Integer levelFuncId; | ||
44 | + | ||
45 | + private String levelFuncList; | ||
42 | } | 46 | } |
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
3 | +<mapper namespace="com.yohoufo.dal.order.SellerEnterApplyMapper"> | ||
4 | + <resultMap id="BaseResultMap" type="com.yohoufo.dal.order.model.SellerEnterApply"> | ||
5 | + <id column="id" jdbcType="INTEGER" property="id" /> | ||
6 | + <result column="uid" jdbcType="INTEGER" property="uid" /> | ||
7 | + <result column="order_code" jdbcType="BIGINT" property="orderCode" /> | ||
8 | + <result column="pre_enter_type" jdbcType="INTEGER" property="preEnterType" /> | ||
9 | + <result column="enter_type" jdbcType="INTEGER" property="enterType" /> | ||
10 | + <result column="create_time" jdbcType="INTEGER" property="createTime" /> | ||
11 | + <result column="update_time" jdbcType="INTEGER" property="updateTime" /> | ||
12 | + <result column="status" jdbcType="SMALLINT" property="status" /> | ||
13 | + </resultMap> | ||
14 | + <sql id="Base_Column_List"> | ||
15 | + id, uid, order_code, pre_enter_type, enter_type, create_time, update_time, status | ||
16 | + </sql> | ||
17 | + <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> | ||
18 | + select | ||
19 | + <include refid="Base_Column_List" /> | ||
20 | + from seller_enter_apply | ||
21 | + where id = #{id,jdbcType=INTEGER} | ||
22 | + </select> | ||
23 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer"> | ||
24 | + delete from seller_enter_apply | ||
25 | + where id = #{id,jdbcType=INTEGER} | ||
26 | + </delete> | ||
27 | + <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerEnterApply" useGeneratedKeys="true"> | ||
28 | + insert into seller_enter_apply (uid, order_code, pre_enter_type, | ||
29 | + enter_type, create_time, update_time, | ||
30 | + status) | ||
31 | + values (#{uid,jdbcType=INTEGER}, #{orderCode,jdbcType=BIGINT}, #{preEnterType,jdbcType=INTEGER}, | ||
32 | + #{enterType,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, | ||
33 | + #{status,jdbcType=SMALLINT}) | ||
34 | + </insert> | ||
35 | + <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerEnterApply" useGeneratedKeys="true"> | ||
36 | + insert into seller_enter_apply | ||
37 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
38 | + <if test="uid != null"> | ||
39 | + uid, | ||
40 | + </if> | ||
41 | + <if test="orderCode != null"> | ||
42 | + order_code, | ||
43 | + </if> | ||
44 | + <if test="preEnterType != null"> | ||
45 | + pre_enter_type, | ||
46 | + </if> | ||
47 | + <if test="enterType != null"> | ||
48 | + enter_type, | ||
49 | + </if> | ||
50 | + <if test="createTime != null"> | ||
51 | + create_time, | ||
52 | + </if> | ||
53 | + <if test="updateTime != null"> | ||
54 | + update_time, | ||
55 | + </if> | ||
56 | + <if test="status != null"> | ||
57 | + status, | ||
58 | + </if> | ||
59 | + </trim> | ||
60 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
61 | + <if test="uid != null"> | ||
62 | + #{uid,jdbcType=INTEGER}, | ||
63 | + </if> | ||
64 | + <if test="orderCode != null"> | ||
65 | + #{orderCode,jdbcType=BIGINT}, | ||
66 | + </if> | ||
67 | + <if test="preEnterType != null"> | ||
68 | + #{preEnterType,jdbcType=INTEGER}, | ||
69 | + </if> | ||
70 | + <if test="enterType != null"> | ||
71 | + #{enterType,jdbcType=INTEGER}, | ||
72 | + </if> | ||
73 | + <if test="createTime != null"> | ||
74 | + #{createTime,jdbcType=INTEGER}, | ||
75 | + </if> | ||
76 | + <if test="updateTime != null"> | ||
77 | + #{updateTime,jdbcType=INTEGER}, | ||
78 | + </if> | ||
79 | + <if test="status != null"> | ||
80 | + #{status,jdbcType=SMALLINT}, | ||
81 | + </if> | ||
82 | + </trim> | ||
83 | + </insert> | ||
84 | + <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.dal.order.model.SellerEnterApply"> | ||
85 | + update seller_enter_apply | ||
86 | + <set> | ||
87 | + <if test="uid != null"> | ||
88 | + uid = #{uid,jdbcType=INTEGER}, | ||
89 | + </if> | ||
90 | + <if test="orderCode != null"> | ||
91 | + order_code = #{orderCode,jdbcType=BIGINT}, | ||
92 | + </if> | ||
93 | + <if test="preEnterType != null"> | ||
94 | + pre_enter_type = #{preEnterType,jdbcType=INTEGER}, | ||
95 | + </if> | ||
96 | + <if test="enterType != null"> | ||
97 | + enter_type = #{enterType,jdbcType=INTEGER}, | ||
98 | + </if> | ||
99 | + <if test="createTime != null"> | ||
100 | + create_time = #{createTime,jdbcType=INTEGER}, | ||
101 | + </if> | ||
102 | + <if test="updateTime != null"> | ||
103 | + update_time = #{updateTime,jdbcType=INTEGER}, | ||
104 | + </if> | ||
105 | + <if test="status != null"> | ||
106 | + status = #{status,jdbcType=SMALLINT}, | ||
107 | + </if> | ||
108 | + </set> | ||
109 | + where id = #{id,jdbcType=INTEGER} | ||
110 | + </update> | ||
111 | + <update id="updateByPrimaryKey" parameterType="com.yohoufo.dal.order.model.SellerEnterApply"> | ||
112 | + update seller_enter_apply | ||
113 | + set uid = #{uid,jdbcType=INTEGER}, | ||
114 | + order_code = #{orderCode,jdbcType=BIGINT}, | ||
115 | + pre_enter_type = #{preEnterType,jdbcType=INTEGER}, | ||
116 | + enter_type = #{enterType,jdbcType=INTEGER}, | ||
117 | + create_time = #{createTime,jdbcType=INTEGER}, | ||
118 | + update_time = #{updateTime,jdbcType=INTEGER}, | ||
119 | + status = #{status,jdbcType=SMALLINT} | ||
120 | + where id = #{id,jdbcType=INTEGER} | ||
121 | + </update> | ||
122 | +</mapper> |
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
3 | +<mapper namespace="com.yohoufo.dal.order.SellerFuncMapper"> | ||
4 | + <resultMap id="BaseResultMap" type="com.yohoufo.dal.order.model.SellerFunc"> | ||
5 | + <id column="id" jdbcType="INTEGER" property="id" /> | ||
6 | + <result column="cn_name" jdbcType="VARCHAR" property="cnName" /> | ||
7 | + <result column="en_name" jdbcType="VARCHAR" property="enName" /> | ||
8 | + <result column="code" jdbcType="INTEGER" property="code" /> | ||
9 | + </resultMap> | ||
10 | + <sql id="Base_Column_List"> | ||
11 | + id, cn_name, en_name, code | ||
12 | + </sql> | ||
13 | + <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> | ||
14 | + select | ||
15 | + <include refid="Base_Column_List" /> | ||
16 | + from seller_func | ||
17 | + where id = #{id,jdbcType=INTEGER} | ||
18 | + </select> | ||
19 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer"> | ||
20 | + delete from seller_func | ||
21 | + where id = #{id,jdbcType=INTEGER} | ||
22 | + </delete> | ||
23 | + <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerFunc" useGeneratedKeys="true"> | ||
24 | + insert into seller_func (cn_name, en_name, code | ||
25 | + ) | ||
26 | + values (#{cnName,jdbcType=VARCHAR}, #{enName,jdbcType=VARCHAR}, #{code,jdbcType=INTEGER} | ||
27 | + ) | ||
28 | + </insert> | ||
29 | + <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerFunc" useGeneratedKeys="true"> | ||
30 | + insert into seller_func | ||
31 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
32 | + <if test="cnName != null"> | ||
33 | + cn_name, | ||
34 | + </if> | ||
35 | + <if test="enName != null"> | ||
36 | + en_name, | ||
37 | + </if> | ||
38 | + <if test="code != null"> | ||
39 | + code, | ||
40 | + </if> | ||
41 | + </trim> | ||
42 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
43 | + <if test="cnName != null"> | ||
44 | + #{cnName,jdbcType=VARCHAR}, | ||
45 | + </if> | ||
46 | + <if test="enName != null"> | ||
47 | + #{enName,jdbcType=VARCHAR}, | ||
48 | + </if> | ||
49 | + <if test="code != null"> | ||
50 | + #{code,jdbcType=INTEGER}, | ||
51 | + </if> | ||
52 | + </trim> | ||
53 | + </insert> | ||
54 | + <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.dal.order.model.SellerFunc"> | ||
55 | + update seller_func | ||
56 | + <set> | ||
57 | + <if test="cnName != null"> | ||
58 | + cn_name = #{cnName,jdbcType=VARCHAR}, | ||
59 | + </if> | ||
60 | + <if test="enName != null"> | ||
61 | + en_name = #{enName,jdbcType=VARCHAR}, | ||
62 | + </if> | ||
63 | + <if test="code != null"> | ||
64 | + code = #{code,jdbcType=INTEGER}, | ||
65 | + </if> | ||
66 | + </set> | ||
67 | + where id = #{id,jdbcType=INTEGER} | ||
68 | + </update> | ||
69 | + <update id="updateByPrimaryKey" parameterType="com.yohoufo.dal.order.model.SellerFunc"> | ||
70 | + update seller_func | ||
71 | + set cn_name = #{cnName,jdbcType=VARCHAR}, | ||
72 | + en_name = #{enName,jdbcType=VARCHAR}, | ||
73 | + code = #{code,jdbcType=INTEGER} | ||
74 | + where id = #{id,jdbcType=INTEGER} | ||
75 | + </update> | ||
76 | +</mapper> |
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
3 | +<mapper namespace="com.yohoufo.dal.order.SellerLevelFuncMapper"> | ||
4 | + <resultMap id="BaseResultMap" type="com.yohoufo.dal.order.model.SellerLevelFunc"> | ||
5 | + <id column="id" jdbcType="INTEGER" property="id" /> | ||
6 | + <result column="enter_type" jdbcType="INTEGER" property="enterType" /> | ||
7 | + <result column="level" jdbcType="INTEGER" property="level" /> | ||
8 | + <result column="func_list" jdbcType="VARCHAR" property="funcList" /> | ||
9 | + </resultMap> | ||
10 | + <sql id="Base_Column_List"> | ||
11 | + id, enter_type, level, func_list | ||
12 | + </sql> | ||
13 | + <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> | ||
14 | + select | ||
15 | + <include refid="Base_Column_List" /> | ||
16 | + from seller_level_func | ||
17 | + where id = #{id,jdbcType=INTEGER} | ||
18 | + </select> | ||
19 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer"> | ||
20 | + delete from seller_level_func | ||
21 | + where id = #{id,jdbcType=INTEGER} | ||
22 | + </delete> | ||
23 | + <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerLevelFunc" useGeneratedKeys="true"> | ||
24 | + insert into seller_level_func (enter_type, level, func_list | ||
25 | + ) | ||
26 | + values (#{enterType,jdbcType=INTEGER}, #{level,jdbcType=INTEGER}, #{funcList,jdbcType=VARCHAR} | ||
27 | + ) | ||
28 | + </insert> | ||
29 | + <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerLevelFunc" useGeneratedKeys="true"> | ||
30 | + insert into seller_level_func | ||
31 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
32 | + <if test="enterType != null"> | ||
33 | + enter_type, | ||
34 | + </if> | ||
35 | + <if test="level != null"> | ||
36 | + level, | ||
37 | + </if> | ||
38 | + <if test="funcList != null"> | ||
39 | + func_list, | ||
40 | + </if> | ||
41 | + </trim> | ||
42 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
43 | + <if test="enterType != null"> | ||
44 | + #{enterType,jdbcType=INTEGER}, | ||
45 | + </if> | ||
46 | + <if test="level != null"> | ||
47 | + #{level,jdbcType=INTEGER}, | ||
48 | + </if> | ||
49 | + <if test="funcList != null"> | ||
50 | + #{funcList,jdbcType=VARCHAR}, | ||
51 | + </if> | ||
52 | + </trim> | ||
53 | + </insert> | ||
54 | + <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.dal.order.model.SellerLevelFunc"> | ||
55 | + update seller_level_func | ||
56 | + <set> | ||
57 | + <if test="enterType != null"> | ||
58 | + enter_type = #{enterType,jdbcType=INTEGER}, | ||
59 | + </if> | ||
60 | + <if test="level != null"> | ||
61 | + level = #{level,jdbcType=INTEGER}, | ||
62 | + </if> | ||
63 | + <if test="funcList != null"> | ||
64 | + func_list = #{funcList,jdbcType=VARCHAR}, | ||
65 | + </if> | ||
66 | + </set> | ||
67 | + where id = #{id,jdbcType=INTEGER} | ||
68 | + </update> | ||
69 | + <update id="updateByPrimaryKey" parameterType="com.yohoufo.dal.order.model.SellerLevelFunc"> | ||
70 | + update seller_level_func | ||
71 | + set enter_type = #{enterType,jdbcType=INTEGER}, | ||
72 | + level = #{level,jdbcType=INTEGER}, | ||
73 | + func_list = #{funcList,jdbcType=VARCHAR} | ||
74 | + where id = #{id,jdbcType=INTEGER} | ||
75 | + </update> | ||
76 | +</mapper> |
@@ -15,11 +15,13 @@ | @@ -15,11 +15,13 @@ | ||
15 | <result column="update_time" property="updateTime" jdbcType="INTEGER" /> | 15 | <result column="update_time" property="updateTime" jdbcType="INTEGER" /> |
16 | <result column="break_zhi_ma_cert" property="breakZhiMaCert" jdbcType="TINYINT" /> | 16 | <result column="break_zhi_ma_cert" property="breakZhiMaCert" jdbcType="TINYINT" /> |
17 | <result column="entry_type" property="entryType" jdbcType="INTEGER" /> | 17 | <result column="entry_type" property="entryType" jdbcType="INTEGER" /> |
18 | + <result column="level_func_id" jdbcType="INTEGER" property="levelFuncId" /> | ||
19 | + <result column="level_func_list" jdbcType="VARCHAR" property="levelFuncList" /> | ||
18 | </resultMap> | 20 | </resultMap> |
19 | 21 | ||
20 | <sql id="Base_Column_List" > | 22 | <sql id="Base_Column_List" > |
21 | id, uid, valid_status,cert_no,cert_name,operator_uid,operator_name,enter_time,quit_time , | 23 | id, uid, valid_status,cert_no,cert_name,operator_uid,operator_name,enter_time,quit_time , |
22 | - create_time, update_time,break_zhi_ma_cert,entry_type | 24 | + create_time, update_time,break_zhi_ma_cert,entry_type, level_func_id, level_func_list |
23 | </sql> | 25 | </sql> |
24 | 26 | ||
25 | <select id="selectValidByUid" resultMap="BaseResultMap" parameterType="java.lang.Integer" > | 27 | <select id="selectValidByUid" resultMap="BaseResultMap" parameterType="java.lang.Integer" > |
@@ -46,11 +48,12 @@ | @@ -46,11 +48,12 @@ | ||
46 | 48 | ||
47 | <insert id="insert" parameterType="com.yohoufo.dal.order.model.StoredSeller" > | 49 | <insert id="insert" parameterType="com.yohoufo.dal.order.model.StoredSeller" > |
48 | insert into stored_seller (uid, valid_status,cert_no,cert_name,operator_uid,operator_name, | 50 | insert into stored_seller (uid, valid_status,cert_no,cert_name,operator_uid,operator_name, |
49 | - enter_time,quit_time, create_time, update_time,break_zhi_ma_cert,entry_type) | 51 | + enter_time,quit_time, create_time, update_time,break_zhi_ma_cert,entry_type,level_func_id, level_func_list) |
50 | values (#{uid},#{validStatus}, | 52 | values (#{uid},#{validStatus}, |
51 | #{certNo},#{certName},#{operatorUid},#{operatorName}, | 53 | #{certNo},#{certName},#{operatorUid},#{operatorName}, |
52 | #{enterTime},#{quitTime}, | 54 | #{enterTime},#{quitTime}, |
53 | - #{createTime},#{updateTime},#{breakZhiMaCert},#{entryType}) | 55 | + #{createTime},#{updateTime},#{breakZhiMaCert},#{entryType}, |
56 | + #{levelFuncId,jdbcType=INTEGER}, #{levelFuncList,jdbcType=VARCHAR}) | ||
54 | </insert> | 57 | </insert> |
55 | 58 | ||
56 | <update id="updateStatusByUid"> | 59 | <update id="updateStatusByUid"> |
@@ -99,6 +102,12 @@ | @@ -99,6 +102,12 @@ | ||
99 | <if test="entryType != null"> | 102 | <if test="entryType != null"> |
100 | entry_type, | 103 | entry_type, |
101 | </if> | 104 | </if> |
105 | + <if test="levelFuncId != null"> | ||
106 | + level_func_id, | ||
107 | + </if> | ||
108 | + <if test="levelFuncList != null"> | ||
109 | + level_func_list, | ||
110 | + </if> | ||
102 | </trim> | 111 | </trim> |
103 | <trim prefix="values (" suffix=")" suffixOverrides=","> | 112 | <trim prefix="values (" suffix=")" suffixOverrides=","> |
104 | <if test="uid != null"> | 113 | <if test="uid != null"> |
@@ -137,6 +146,12 @@ | @@ -137,6 +146,12 @@ | ||
137 | <if test="entryType != null"> | 146 | <if test="entryType != null"> |
138 | #{entryType,jdbcType=INTEGER}, | 147 | #{entryType,jdbcType=INTEGER}, |
139 | </if> | 148 | </if> |
149 | + <if test="levelFuncId != null"> | ||
150 | + #{levelFuncId,jdbcType=INTEGER}, | ||
151 | + </if> | ||
152 | + <if test="levelFuncList != null"> | ||
153 | + #{levelFuncList,jdbcType=VARCHAR}, | ||
154 | + </if> | ||
140 | </trim> | 155 | </trim> |
141 | </insert> | 156 | </insert> |
142 | 157 | ||
@@ -174,6 +189,12 @@ | @@ -174,6 +189,12 @@ | ||
174 | <if test="entryType != null"> | 189 | <if test="entryType != null"> |
175 | entry_type = #{entryType,jdbcType=INTEGER}, | 190 | entry_type = #{entryType,jdbcType=INTEGER}, |
176 | </if> | 191 | </if> |
192 | + <if test="levelFuncId != null"> | ||
193 | + level_func_id = #{levelFuncId,jdbcType=INTEGER}, | ||
194 | + </if> | ||
195 | + <if test="levelFuncList != null"> | ||
196 | + level_func_list = #{levelFuncList,jdbcType=VARCHAR}, | ||
197 | + </if> | ||
177 | </set> | 198 | </set> |
178 | where uid = #{uid,jdbcType=INTEGER} | 199 | where uid = #{uid,jdbcType=INTEGER} |
179 | </update> | 200 | </update> |
@@ -73,6 +73,9 @@ datasources: | @@ -73,6 +73,9 @@ datasources: | ||
73 | - com.yohoufo.dal.order.OrdersPrePayMapper | 73 | - com.yohoufo.dal.order.OrdersPrePayMapper |
74 | - com.yohoufo.dal.order.MetaConfigMapper | 74 | - com.yohoufo.dal.order.MetaConfigMapper |
75 | - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper | 75 | - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper |
76 | + - com.yohoufo.dal.order.SellerEnterApplyMapper | ||
77 | + - com.yohoufo.dal.order.SellerFuncMapper | ||
78 | + - com.yohoufo.dal.order.SellerLevelFuncMapper | ||
76 | 79 | ||
77 | ufo_promotion: | 80 | ufo_promotion: |
78 | servers: | 81 | servers: |
@@ -73,6 +73,9 @@ datasources: | @@ -73,6 +73,9 @@ datasources: | ||
73 | - com.yohoufo.dal.order.OrdersPrePayMapper | 73 | - com.yohoufo.dal.order.OrdersPrePayMapper |
74 | - com.yohoufo.dal.order.MetaConfigMapper | 74 | - com.yohoufo.dal.order.MetaConfigMapper |
75 | - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper | 75 | - com.yohoufo.dal.order.BuyerOrderStatusFlowMapper |
76 | + - com.yohoufo.dal.order.SellerEnterApplyMapper | ||
77 | + - com.yohoufo.dal.order.SellerFuncMapper | ||
78 | + - com.yohoufo.dal.order.SellerLevelFuncMapper | ||
76 | 79 | ||
77 | ufo_promotion: | 80 | ufo_promotion: |
78 | servers: | 81 | servers: |
-
Please register or login to post a comment