更新对账单增加租户字段
This commit is contained in:
parent
e85ff50716
commit
45a8620fdd
@ -41,6 +41,8 @@ public class XhpcTradebillUploadRecordDomain implements Serializable {
|
|||||||
|
|
||||||
private Integer checkedCount;
|
private Integer checkedCount;
|
||||||
|
|
||||||
|
private String tenantId;
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
}
|
}
|
||||||
@ -17,10 +17,11 @@
|
|||||||
<result column="fail_count" jdbcType="INTEGER" property="failCount" />
|
<result column="fail_count" jdbcType="INTEGER" property="failCount" />
|
||||||
<result column="uncheck_count" jdbcType="INTEGER" property="uncheckCount" />
|
<result column="uncheck_count" jdbcType="INTEGER" property="uncheckCount" />
|
||||||
<result column="checked_count" jdbcType="INTEGER" property="checkedCount" />
|
<result column="checked_count" jdbcType="INTEGER" property="checkedCount" />
|
||||||
|
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
id, create_time, create_by, update_time, update_by, `source`, file_name, url, `type`,
|
id, create_time, create_by, update_time, update_by, `source`, file_name, url, `type`,
|
||||||
`status`, del_flag, success_count, fail_count, uncheck_count, checked_count
|
`status`, del_flag, success_count, fail_count, uncheck_count, checked_count, tenant_id
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
|
||||||
@ -62,12 +63,12 @@
|
|||||||
update_by, `source`, file_name,
|
update_by, `source`, file_name,
|
||||||
url, `type`, `status`,
|
url, `type`, `status`,
|
||||||
del_flag, success_count, fail_count,
|
del_flag, success_count, fail_count,
|
||||||
uncheck_count, checked_count)
|
uncheck_count, checked_count, tenant_id)
|
||||||
values (now(), #{createBy,jdbcType=VARCHAR}, now(),
|
values (now(), #{createBy,jdbcType=VARCHAR}, now(),
|
||||||
#{updateBy,jdbcType=VARCHAR}, #{source,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR},
|
#{updateBy,jdbcType=VARCHAR}, #{source,jdbcType=VARCHAR}, #{fileName,jdbcType=VARCHAR},
|
||||||
#{url,jdbcType=VARCHAR}, #{type,jdbcType=SMALLINT}, #{status,jdbcType=SMALLINT},
|
#{url,jdbcType=VARCHAR}, #{type,jdbcType=SMALLINT}, #{status,jdbcType=SMALLINT},
|
||||||
#{delFlag,jdbcType=SMALLINT}, #{successCount,jdbcType=INTEGER}, #{failCount,jdbcType=INTEGER},
|
#{delFlag,jdbcType=SMALLINT}, #{successCount,jdbcType=INTEGER}, #{failCount,jdbcType=INTEGER},
|
||||||
#{uncheckCount,jdbcType=INTEGER}, #{checkedCount,jdbcType=INTEGER})
|
#{uncheckCount,jdbcType=INTEGER}, #{checkedCount,jdbcType=INTEGER}, #{tenantId, jdbcType=VARCHAR})
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.xhpc.tradebill.domain.XhpcTradebillUploadRecordDomain" useGeneratedKeys="true">
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.xhpc.tradebill.domain.XhpcTradebillUploadRecordDomain" useGeneratedKeys="true">
|
||||||
insert into xhpc_tradebill_upload_record
|
insert into xhpc_tradebill_upload_record
|
||||||
@ -110,6 +111,9 @@
|
|||||||
<if test="checkedCount != null">
|
<if test="checkedCount != null">
|
||||||
checked_count,
|
checked_count,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="tenantId != null">
|
||||||
|
tenant_id,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
now(),
|
now(),
|
||||||
@ -150,6 +154,9 @@
|
|||||||
<if test="checkedCount != null">
|
<if test="checkedCount != null">
|
||||||
#{checkedCount,jdbcType=INTEGER},
|
#{checkedCount,jdbcType=INTEGER},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="tenantId != null">
|
||||||
|
#{tenantId, jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="updateByPrimaryKeySelective" parameterType="com.xhpc.tradebill.domain.XhpcTradebillUploadRecordDomain">
|
<update id="updateByPrimaryKeySelective" parameterType="com.xhpc.tradebill.domain.XhpcTradebillUploadRecordDomain">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user