|
|
@@ -102,7 +102,7 @@
|
|
102
|
102
|
<include refid="Example_Where_Clause" />
|
|
103
|
103
|
</if>
|
|
104
|
104
|
</delete>
|
|
105
|
|
- <insert id="insert" parameterType="com.chinaitop.depot.rp.model.BusinessRpBiweeklyReport" >
|
|
|
105
|
+ <insert id="insert" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.rp.model.BusinessRpBiweeklyReport" >
|
|
106
|
106
|
insert into business_rp_biweekly_report (id, createdate, updatename,
|
|
107
|
107
|
updatedate, org_id, rp_report_id,
|
|
108
|
108
|
report_time, status)
|
|
|
@@ -110,7 +110,7 @@
|
|
110
|
110
|
#{updatedate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=INTEGER}, #{rpReportId,jdbcType=INTEGER},
|
|
111
|
111
|
#{reportTime,jdbcType=TIMESTAMP}, #{status,jdbcType=TINYINT})
|
|
112
|
112
|
</insert>
|
|
113
|
|
- <insert id="insertSelective" parameterType="com.chinaitop.depot.rp.model.BusinessRpBiweeklyReport" >
|
|
|
113
|
+ <insert id="insertSelective" useGeneratedKeys="true" keyProperty="id" parameterType="com.chinaitop.depot.rp.model.BusinessRpBiweeklyReport" >
|
|
114
|
114
|
insert into business_rp_biweekly_report
|
|
115
|
115
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
116
|
116
|
<if test="id != null" >
|