|
@@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<select id="selectImputationData" parameterType="com.business.domain.ImputationData" resultType="com.business.domain.ImputationData">
|
|
|
- select interface_id from t_u_imputation_interface where year = #{year} and interface_id = #{interfaceId}
|
|
|
+ select year, interface_id interfaceId, interface_name interfaceName from t_u_imputation_interface where year = #{year} and interface_id = #{interfaceId}
|
|
|
</select>
|
|
|
<insert id="insertImputationInterface" parameterType="com.business.domain.ImputationData">
|
|
|
insert into t_u_imputation_interface
|
|
@@ -108,7 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="year != null">#{year},</if>
|
|
|
- <if test="year != null">#{interfaceId},</if>
|
|
|
+ <if test="interfaceId != null">#{interfaceId},</if>
|
|
|
<if test="interfaceName != null">#{interfaceName},</if>
|
|
|
<if test="jan != null">#{jan},</if>
|
|
|
<if test="feb != null">#{feb},</if>
|