|
|
@ -40,11 +40,13 @@ public interface HighMerchantStoreAccountMapper extends HighMerchantStoreAccount |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into high_merchant_store_account (store_id, account_no, ", |
|
|
|
"insert into high_merchant_store_account (store_id, account_no, ", |
|
|
|
"amounts, `status`, ", |
|
|
|
"amounts, amounts_early_warning, ", |
|
|
|
|
|
|
|
"amounts_early_warning_status, `status`, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{storeId,jdbcType=BIGINT}, #{accountNo,jdbcType=VARCHAR}, ", |
|
|
|
"values (#{storeId,jdbcType=BIGINT}, #{accountNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{amounts,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{amounts,jdbcType=DECIMAL}, #{amountsEarlyWarning,jdbcType=DECIMAL}, ", |
|
|
|
|
|
|
|
"#{amountsEarlyWarningStatus,jdbcType=BIT}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -61,6 +63,8 @@ public interface HighMerchantStoreAccountMapper extends HighMerchantStoreAccount |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="account_no", property="accountNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="account_no", property="accountNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="amounts", property="amounts", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="amounts", property="amounts", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="amounts_early_warning", property="amountsEarlyWarning", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="amounts_early_warning_status", property="amountsEarlyWarningStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -72,8 +76,8 @@ public interface HighMerchantStoreAccountMapper extends HighMerchantStoreAccount |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, store_id, account_no, amounts, `status`, create_time, update_time, ext_1, ", |
|
|
|
"id, store_id, account_no, amounts, amounts_early_warning, amounts_early_warning_status, ", |
|
|
|
"ext_2, ext_3", |
|
|
|
"`status`, create_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"from high_merchant_store_account", |
|
|
|
"from high_merchant_store_account", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -82,6 +86,8 @@ public interface HighMerchantStoreAccountMapper extends HighMerchantStoreAccount |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="account_no", property="accountNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="account_no", property="accountNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="amounts", property="amounts", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="amounts", property="amounts", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="amounts_early_warning", property="amountsEarlyWarning", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="amounts_early_warning_status", property="amountsEarlyWarningStatus", jdbcType=JdbcType.BIT), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -105,6 +111,8 @@ public interface HighMerchantStoreAccountMapper extends HighMerchantStoreAccount |
|
|
|
"set store_id = #{storeId,jdbcType=BIGINT},", |
|
|
|
"set store_id = #{storeId,jdbcType=BIGINT},", |
|
|
|
"account_no = #{accountNo,jdbcType=VARCHAR},", |
|
|
|
"account_no = #{accountNo,jdbcType=VARCHAR},", |
|
|
|
"amounts = #{amounts,jdbcType=DECIMAL},", |
|
|
|
"amounts = #{amounts,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"amounts_early_warning = #{amountsEarlyWarning,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"amounts_early_warning_status = #{amountsEarlyWarningStatus,jdbcType=BIT},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|