|
|
@@ -113,9 +113,9 @@
|
|
113
|
113
|
</if>
|
|
114
|
114
|
</delete>
|
|
115
|
115
|
<insert id="insert" parameterType="com.chinaitop.depot.agent.basic.model.BusinessAgent" >
|
|
116
|
|
- <selectKey keyProperty="id" resultType="java.lang.Integer" order="BEFORE">
|
|
|
116
|
+ <!-- <selectKey keyProperty="id" resultType="java.lang.Integer" order="BEFORE">
|
|
117
|
117
|
select seq_business_agent.nextVal from dual
|
|
118
|
|
- </selectKey>
|
|
|
118
|
+ </selectKey> -->
|
|
119
|
119
|
insert into business_agent (id, agent_name, legal_person,
|
|
120
|
120
|
credit_code, agent_nature, agent_type,
|
|
121
|
121
|
capacity, person, credit,
|
|
|
@@ -183,7 +183,7 @@
|
|
183
|
183
|
</trim>
|
|
184
|
184
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
185
|
185
|
<if test="id != null" >
|
|
186
|
|
- seq_business_agent.nextVal,
|
|
|
186
|
+ #{id,jdbcType=INTEGER},
|
|
187
|
187
|
</if>
|
|
188
|
188
|
<if test="agentName != null" >
|
|
189
|
189
|
#{agentName,jdbcType=VARCHAR},
|