|
|
@ -40,26 +40,32 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into high_order_pre (company_id, merchant_id, ", |
|
|
|
"insert into high_order_pre (company_id, merchant_id, ", |
|
|
|
"agent_id, pre_order_no, ", |
|
|
|
"merchant_store_id, agent_id, ", |
|
|
|
"order_id, order_no, ", |
|
|
|
"pre_order_no, order_id, ", |
|
|
|
"child_order_id, pay_real_price, ", |
|
|
|
"order_no, child_order_id, ", |
|
|
|
"goods_type, goods_id, ", |
|
|
|
"pay_real_price, goods_type, ", |
|
|
|
"goods_name, pre_user_id, ", |
|
|
|
"goods_id, goods_name, ", |
|
|
|
|
|
|
|
"pre_time, pre_user_id, ", |
|
|
|
"pre_user_name, pre_user_phone, ", |
|
|
|
"pre_user_name, pre_user_phone, ", |
|
|
|
"pre_user_remark, stauts, ", |
|
|
|
"pre_user_remark, `status`, ", |
|
|
|
"status_fail_desc, status_cancel_desc, ", |
|
|
|
"status_fail_desc, status_cancel_desc, ", |
|
|
|
|
|
|
|
"reach_time, reach_address, ", |
|
|
|
|
|
|
|
"op_user_id, op_user_name, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"create_time, update_time, ", |
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
"ext_4, ext_5)", |
|
|
|
"ext_4, ext_5)", |
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{merchantId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{companyId,jdbcType=BIGINT}, #{merchantId,jdbcType=BIGINT}, ", |
|
|
|
"#{agentId,jdbcType=BIGINT}, #{preOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{merchantStoreId,jdbcType=BIGINT}, #{agentId,jdbcType=BIGINT}, ", |
|
|
|
"#{orderId,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{preOrderNo,jdbcType=VARCHAR}, #{orderId,jdbcType=BIGINT}, ", |
|
|
|
"#{childOrderId,jdbcType=BIGINT}, #{payRealPrice,jdbcType=DECIMAL}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{childOrderId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsType,jdbcType=INTEGER}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{goodsType,jdbcType=INTEGER}, ", |
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{preUserId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsId,jdbcType=BIGINT}, #{goodsName,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{preTime,jdbcType=TIMESTAMP}, #{preUserId,jdbcType=BIGINT}, ", |
|
|
|
"#{preUserName,jdbcType=VARCHAR}, #{preUserPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{preUserName,jdbcType=VARCHAR}, #{preUserPhone,jdbcType=VARCHAR}, ", |
|
|
|
"#{preUserRemark,jdbcType=VARCHAR}, #{stauts,jdbcType=INTEGER}, ", |
|
|
|
"#{preUserRemark,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{statusFailDesc,jdbcType=VARCHAR}, #{statusCancelDesc,jdbcType=VARCHAR}, ", |
|
|
|
"#{statusFailDesc,jdbcType=VARCHAR}, #{statusCancelDesc,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{reachTime,jdbcType=TIMESTAMP}, #{reachAddress,jdbcType=VARCHAR}, ", |
|
|
|
|
|
|
|
"#{opUserId,jdbcType=BIGINT}, #{opUserName,jdbcType=VARCHAR}, ", |
|
|
|
"#{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}, ", |
|
|
|
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR})" |
|
|
|
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR})" |
|
|
@ -76,6 +82,7 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merchant_id", property="merchantId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merchant_id", property="merchantId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="merchant_store_id", property="merchantStoreId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_order_no", property="preOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_order_no", property="preOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), |
|
|
@ -85,13 +92,18 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pre_time", property="preTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pre_user_id", property="preUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_user_id", property="preUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_user_name", property="preUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_name", property="preUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_phone", property="preUserPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_phone", property="preUserPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_remark", property="preUserRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_remark", property="preUserRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="stauts", property="stauts", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status_fail_desc", property="statusFailDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_fail_desc", property="statusFailDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_cancel_desc", property="statusCancelDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_cancel_desc", property="statusCancelDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="reach_time", property="reachTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
|
|
|
@Result(column="reach_address", property="reachAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="op_user_id", property="opUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="op_user_name", property="opUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -104,10 +116,11 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, company_id, merchant_id, agent_id, pre_order_no, order_id, order_no, child_order_id, ", |
|
|
|
"id, company_id, merchant_id, merchant_store_id, agent_id, pre_order_no, order_id, ", |
|
|
|
"pay_real_price, goods_type, goods_id, goods_name, pre_user_id, pre_user_name, ", |
|
|
|
"order_no, child_order_id, pay_real_price, goods_type, goods_id, goods_name, ", |
|
|
|
"pre_user_phone, pre_user_remark, stauts, status_fail_desc, status_cancel_desc, ", |
|
|
|
"pre_time, pre_user_id, pre_user_name, pre_user_phone, pre_user_remark, `status`, ", |
|
|
|
"create_time, update_time, ext_1, ext_2, ext_3, ext_4, ext_5", |
|
|
|
"status_fail_desc, status_cancel_desc, reach_time, reach_address, op_user_id, ", |
|
|
|
|
|
|
|
"op_user_name, create_time, update_time, ext_1, ext_2, ext_3, ext_4, ext_5", |
|
|
|
"from high_order_pre", |
|
|
|
"from high_order_pre", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -115,6 +128,7 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merchant_id", property="merchantId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="merchant_id", property="merchantId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="merchant_store_id", property="merchantStoreId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="agent_id", property="agentId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_order_no", property="preOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_order_no", property="preOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), |
|
|
@ -124,13 +138,18 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_type", property="goodsType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_id", property="goodsId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="pre_time", property="preTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pre_user_id", property="preUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_user_id", property="preUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="pre_user_name", property="preUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_name", property="preUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_phone", property="preUserPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_phone", property="preUserPhone", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_remark", property="preUserRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="pre_user_remark", property="preUserRemark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="stauts", property="stauts", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status_fail_desc", property="statusFailDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_fail_desc", property="statusFailDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_cancel_desc", property="statusCancelDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status_cancel_desc", property="statusCancelDesc", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="reach_time", property="reachTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
|
|
|
@Result(column="reach_address", property="reachAddress", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="op_user_id", property="opUserId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
|
|
|
@Result(column="op_user_name", property="opUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), |
|
|
@ -154,6 +173,7 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
"update high_order_pre", |
|
|
|
"update high_order_pre", |
|
|
|
"set company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"set company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
"merchant_id = #{merchantId,jdbcType=BIGINT},", |
|
|
|
"merchant_id = #{merchantId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"merchant_store_id = #{merchantStoreId,jdbcType=BIGINT},", |
|
|
|
"agent_id = #{agentId,jdbcType=BIGINT},", |
|
|
|
"agent_id = #{agentId,jdbcType=BIGINT},", |
|
|
|
"pre_order_no = #{preOrderNo,jdbcType=VARCHAR},", |
|
|
|
"pre_order_no = #{preOrderNo,jdbcType=VARCHAR},", |
|
|
|
"order_id = #{orderId,jdbcType=BIGINT},", |
|
|
|
"order_id = #{orderId,jdbcType=BIGINT},", |
|
|
@ -163,13 +183,18 @@ public interface HighOrderPreMapper extends HighOrderPreMapperExt { |
|
|
|
"goods_type = #{goodsType,jdbcType=INTEGER},", |
|
|
|
"goods_type = #{goodsType,jdbcType=INTEGER},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|
"goods_id = #{goodsId,jdbcType=BIGINT},", |
|
|
|
"goods_name = #{goodsName,jdbcType=VARCHAR},", |
|
|
|
"goods_name = #{goodsName,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"pre_time = #{preTime,jdbcType=TIMESTAMP},", |
|
|
|
"pre_user_id = #{preUserId,jdbcType=BIGINT},", |
|
|
|
"pre_user_id = #{preUserId,jdbcType=BIGINT},", |
|
|
|
"pre_user_name = #{preUserName,jdbcType=VARCHAR},", |
|
|
|
"pre_user_name = #{preUserName,jdbcType=VARCHAR},", |
|
|
|
"pre_user_phone = #{preUserPhone,jdbcType=VARCHAR},", |
|
|
|
"pre_user_phone = #{preUserPhone,jdbcType=VARCHAR},", |
|
|
|
"pre_user_remark = #{preUserRemark,jdbcType=VARCHAR},", |
|
|
|
"pre_user_remark = #{preUserRemark,jdbcType=VARCHAR},", |
|
|
|
"stauts = #{stauts,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"status_fail_desc = #{statusFailDesc,jdbcType=VARCHAR},", |
|
|
|
"status_fail_desc = #{statusFailDesc,jdbcType=VARCHAR},", |
|
|
|
"status_cancel_desc = #{statusCancelDesc,jdbcType=VARCHAR},", |
|
|
|
"status_cancel_desc = #{statusCancelDesc,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"reach_time = #{reachTime,jdbcType=TIMESTAMP},", |
|
|
|
|
|
|
|
"reach_address = #{reachAddress,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"op_user_id = #{opUserId,jdbcType=BIGINT},", |
|
|
|
|
|
|
|
"op_user_name = #{opUserName,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|