| | |
| | | <!-- 整个实体类修改,表字段=实体类字段--> |
| | | <sql id="Update_Column_All"> |
| | | <trim prefixOverrides=","> |
| | | ,numberNo = #{numberNo},name = #{name},paymentMethodId = #{paymentMethodId},refundNumberNo = #{refundNumberNo},refundName = #{refundName},refundMethodId = #{refundMethodId},actualTotal = #{actualTotal},realRefundTotal = #{realRefundTotal},isMoneyPay = #{isMoneyPay},isExecute = #{isExecute},isPay = #{isPay},isMoneyPayRefund = #{isMoneyPayRefund},isExecuteRefund = #{isExecuteRefund},isPayRefund = #{isPayRefund},type = #{type},orderId = #{orderId},refundRecordId = #{refundRecordId},refundMethodTransId = #{refundMethodTransId},payee = #{payee},openBank = #{openBank},openBranch = #{openBranch},account = #{account},remarks = #{remarks},consumePayId = #{consumePayId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime} |
| | | ,numberNo = #{numberNo},name = #{name},paymentMethodId = #{paymentMethodId},isMoneyPay = #{isMoneyPay},isExecute = #{isExecute},isPay = #{isPay},refundNumberNo = #{refundNumberNo},refundName = #{refundName},refundMethodId = #{refundMethodId},isMoneyPayRefund = #{isMoneyPayRefund},isExecuteRefund = #{isExecuteRefund},isPayRefund = #{isPayRefund},actualTotal = #{actualTotal},realRefundTotal = #{realRefundTotal},type = #{type},orderId = #{orderId},refundRecordId = #{refundRecordId},payee = #{payee},openBank = #{openBank},openBranch = #{openBranch},account = #{account},remarks = #{remarks},consumePayId = #{consumePayId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime} |
| | | </trim> |
| | | </sql> |
| | | |
| | |
| | | <selectKey keyProperty="id" resultType="String" order="BEFORE"> |
| | | select replace(uuid(),'-','') from dual |
| | | </selectKey> |
| | | insert into refund_record_method (id,numberNo,name,paymentMethodId,refundNumberNo,refundName,refundMethodId,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,isMoneyPayRefund,isExecuteRefund,isPayRefund,type,orderId,refundRecordId,refundMethodTransId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{refundNumberNo},#{refundName},#{refundMethodId},#{actualTotal},#{realRefundTotal},#{isMoneyPay},#{isExecute},#{isPay},#{isMoneyPayRefund},#{isExecuteRefund},#{isPayRefund},#{type},#{orderId},#{refundRecordId},#{refundMethodTransId},#{payee},#{openBank},#{openBranch},#{account},#{remarks},#{consumePayId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_record_method (id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,isPayRefund,actualTotal,realRefundTotal,type,orderId,refundRecordId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{isMoneyPay},#{isExecute},#{isPay},#{refundNumberNo},#{refundName},#{refundMethodId},#{isMoneyPayRefund},#{isExecuteRefund},#{isPayRefund},#{actualTotal},#{realRefundTotal},#{type},#{orderId},#{refundRecordId},#{payee},#{openBank},#{openBranch},#{account},#{remarks},#{consumePayId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <insert id="insertById" parameterType="com.hx.phiappt.model.refund.RefundRecordMethod"> |
| | | insert into refund_record_method (id,numberNo,name,paymentMethodId,refundNumberNo,refundName,refundMethodId,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,isMoneyPayRefund,isExecuteRefund,isPayRefund,type,orderId,refundRecordId,refundMethodTransId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{refundNumberNo},#{refundName},#{refundMethodId},#{actualTotal},#{realRefundTotal},#{isMoneyPay},#{isExecute},#{isPay},#{isMoneyPayRefund},#{isExecuteRefund},#{isPayRefund},#{type},#{orderId},#{refundRecordId},#{refundMethodTransId},#{payee},#{openBank},#{openBranch},#{account},#{remarks},#{consumePayId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_record_method (id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,isPayRefund,actualTotal,realRefundTotal,type,orderId,refundRecordId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{isMoneyPay},#{isExecute},#{isPay},#{refundNumberNo},#{refundName},#{refundMethodId},#{isMoneyPayRefund},#{isExecuteRefund},#{isPayRefund},#{actualTotal},#{realRefundTotal},#{type},#{orderId},#{refundRecordId},#{payee},#{openBank},#{openBranch},#{account},#{remarks},#{consumePayId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <select id="selectList" resultType="com.hx.phiappt.model.refund.RefundRecordMethod" parameterType="com.hx.mybatisTool.SqlSentence" > |
| | |
| | | |
| | | <select id="selectOneByKey" resultType="com.hx.phiappt.model.refund.RefundRecordMethod" parameterType="java.lang.Object" > |
| | | select |
| | | id,numberNo,name,paymentMethodId,refundNumberNo,refundName,refundMethodId,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,isMoneyPayRefund,isExecuteRefund,isPayRefund,type,orderId,refundRecordId,refundMethodTransId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime |
| | | id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,isPayRefund,actualTotal,realRefundTotal,type,orderId,refundRecordId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime |
| | | from refund_record_method |
| | | WHERE id = #{value} |
| | | </select> |
| | | |
| | | <select id="selectOneByKeyBlob" resultType="com.hx.phiappt.model.refund.RefundRecordMethod" parameterType="java.lang.Object" > |
| | | select |
| | | id,numberNo,name,paymentMethodId,refundNumberNo,refundName,refundMethodId,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,isMoneyPayRefund,isExecuteRefund,isPayRefund,type,orderId,refundRecordId,refundMethodTransId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime |
| | | id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,isPayRefund,actualTotal,realRefundTotal,type,orderId,refundRecordId,payee,openBank,openBranch,account,remarks,consumePayId,isDel,createTime,editTime |
| | | from refund_record_method |
| | | WHERE id = #{value} |
| | | </select> |