|
|
@ -42,6 +42,9 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
"insert into bs_gas_order_receipt (apply_no, user_receipt_id, ", |
|
|
|
"insert into bs_gas_order_receipt (apply_no, user_receipt_id, ", |
|
|
|
"company_name, tax_no, ", |
|
|
|
"company_name, tax_no, ", |
|
|
|
"contacts_phone, email, ", |
|
|
|
"contacts_phone, email, ", |
|
|
|
|
|
|
|
"agent_id, agent_name, ", |
|
|
|
|
|
|
|
"agent_staff_id, agent_staff_name, ", |
|
|
|
|
|
|
|
"mer_no, mer_name, ", |
|
|
|
"order_no, order_child_no, ", |
|
|
|
"order_no, order_child_no, ", |
|
|
|
"oil_no, amount, `status`, ", |
|
|
|
"oil_no, amount, `status`, ", |
|
|
|
"fail_remark, create_time, ", |
|
|
|
"fail_remark, create_time, ", |
|
|
@ -50,6 +53,9 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
"values (#{applyNo,jdbcType=VARCHAR}, #{userReceiptId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{applyNo,jdbcType=VARCHAR}, #{userReceiptId,jdbcType=BIGINT}, ", |
|
|
|
"#{companyName,jdbcType=VARCHAR}, #{taxNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{companyName,jdbcType=VARCHAR}, #{taxNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{contactsPhone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, ", |
|
|
|
"#{contactsPhone,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{agentId,jdbcType=BIGINT}, #{agentName,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{agentStaffId,jdbcType=BIGINT}, #{agentStaffName,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{merNo,jdbcType=VARCHAR}, #{merName,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{orderChildNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{orderChildNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{oilNo,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{oilNo,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{failRemark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{failRemark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
@ -72,6 +78,12 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
@Result(column="tax_no", property="taxNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tax_no", property="taxNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="contacts_phone", property="contactsPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="contacts_phone", property="contactsPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="agent_name", property="agentName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="agent_staff_id", property="agentStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="agent_staff_name", property="agentStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="mer_no", property="merNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_child_no", property="orderChildNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_child_no", property="orderChildNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_no", property="oilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_no", property="oilNo", jdbcType=JdbcType.VARCHAR), |
|
|
@ -89,8 +101,9 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, apply_no, user_receipt_id, company_name, tax_no, contacts_phone, email, ", |
|
|
|
"id, apply_no, user_receipt_id, company_name, tax_no, contacts_phone, email, ", |
|
|
|
"order_no, order_child_no, oil_no, amount, `status`, fail_remark, create_time, ", |
|
|
|
"agent_id, agent_name, agent_staff_id, agent_staff_name, mer_no, mer_name, order_no, ", |
|
|
|
"update_time, ext_1, ext_2, ext_3", |
|
|
|
"order_child_no, oil_no, amount, `status`, fail_remark, create_time, update_time, ", |
|
|
|
|
|
|
|
"ext_1, ext_2, ext_3", |
|
|
|
"from bs_gas_order_receipt", |
|
|
|
"from bs_gas_order_receipt", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -102,6 +115,12 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
@Result(column="tax_no", property="taxNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="tax_no", property="taxNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="contacts_phone", property="contactsPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="contacts_phone", property="contactsPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="agent_name", property="agentName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="agent_staff_id", property="agentStaffId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="agent_staff_name", property="agentStaffName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="mer_no", property="merNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="mer_name", property="merName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_child_no", property="orderChildNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_child_no", property="orderChildNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_no", property="oilNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_no", property="oilNo", jdbcType=JdbcType.VARCHAR), |
|
|
@ -133,6 +152,12 @@ public interface BsGasOrderReceiptMapper extends BsGasOrderReceiptMapperExt { |
|
|
|
"tax_no = #{taxNo,jdbcType=VARCHAR},", |
|
|
|
"tax_no = #{taxNo,jdbcType=VARCHAR},", |
|
|
|
"contacts_phone = #{contactsPhone,jdbcType=VARCHAR},", |
|
|
|
"contacts_phone = #{contactsPhone,jdbcType=VARCHAR},", |
|
|
|
"email = #{email,jdbcType=VARCHAR},", |
|
|
|
"email = #{email,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"agent_id = #{agentId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"agent_name = #{agentName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"agent_staff_id = #{agentStaffId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"agent_staff_name = #{agentStaffName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"mer_no = #{merNo,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"mer_name = #{merName,jdbcType=VARCHAR},", |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"order_no = #{orderNo,jdbcType=VARCHAR},", |
|
|
|
"order_child_no = #{orderChildNo,jdbcType=VARCHAR},", |
|
|
|
"order_child_no = #{orderChildNo,jdbcType=VARCHAR},", |
|
|
|
"oil_no = #{oilNo,jdbcType=VARCHAR},", |
|
|
|
"oil_no = #{oilNo,jdbcType=VARCHAR},", |
|
|
|