|
@@ -45,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<insert id="insertRecordData" parameterType="RecordData">
|
|
|
insert into record_data (
|
|
|
<if test="id != null and id != '' ">id,</if>
|
|
|
+ <if test="parkName != null and parkName != '' ">park_name,</if>
|
|
|
<if test="parkSyscode != null and parkSyscode != '' ">park_syscode,</if>
|
|
|
<if test="entranceSyscode != null and entranceSyscode != '' ">entrance_syscode,</if>
|
|
|
<if test="entranceName != null and entranceName != '' ">entrance_name,</if>
|
|
@@ -58,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
create_time
|
|
|
)values(
|
|
|
<if test="id != null and id != '' ">#{id},</if>
|
|
|
+ <if test="parkName != null and parkName != '' ">#{parkName},</if>
|
|
|
<if test="parkSyscode != null and parkSyscode != '' ">#{parkSyscode},</if>
|
|
|
<if test="entranceSyscode != null and entranceSyscode != '' ">#{entranceSyscode},</if>
|
|
|
<if test="entranceName != null and entranceName != '' ">#{entranceName},</if>
|