| | |
| | | <!-- 整个实体类修改,表字段=实体类字段--> |
| | | <sql id="Update_Column_All"> |
| | | <trim prefixOverrides=","> |
| | | ,refundTotal = #{refundTotal},consumePayId = #{consumePayId},refundMethodId = #{refundMethodId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime} |
| | | ,refundTotal = #{refundTotal},numberNo = #{numberNo},name = #{name},isMoneyPay = #{isMoneyPay},isExecute = #{isExecute},consumePayId = #{consumePayId},refundMethodId = #{refundMethodId},refundRecordItemId = #{refundRecordItemId},refundRecordId = #{refundRecordId},commonType = #{commonType},commonId = #{commonId},orderId = #{orderId},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_consume_pay (id,refundTotal,consumePayId,refundMethodId,isDel,createTime,editTime) values (#{id},#{refundTotal},#{consumePayId},#{refundMethodId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_record_consume_pay (id,refundTotal,numberNo,name,isMoneyPay,isExecute,consumePayId,refundMethodId,refundRecordItemId,refundRecordId,commonType,commonId,orderId,isDel,createTime,editTime) values (#{id},#{refundTotal},#{numberNo},#{name},#{isMoneyPay},#{isExecute},#{consumePayId},#{refundMethodId},#{refundRecordItemId},#{refundRecordId},#{commonType},#{commonId},#{orderId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <insert id="insertById" parameterType="com.hx.phiappt.model.refund.RefundRecordConsumePay"> |
| | | insert into refund_record_consume_pay (id,refundTotal,consumePayId,refundMethodId,isDel,createTime,editTime) values (#{id},#{refundTotal},#{consumePayId},#{refundMethodId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_record_consume_pay (id,refundTotal,numberNo,name,isMoneyPay,isExecute,consumePayId,refundMethodId,refundRecordItemId,refundRecordId,commonType,commonId,orderId,isDel,createTime,editTime) values (#{id},#{refundTotal},#{numberNo},#{name},#{isMoneyPay},#{isExecute},#{consumePayId},#{refundMethodId},#{refundRecordItemId},#{refundRecordId},#{commonType},#{commonId},#{orderId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <select id="selectList" resultType="com.hx.phiappt.model.refund.RefundRecordConsumePay" parameterType="com.hx.mybatisTool.SqlSentence" > |
| | |
| | | |
| | | <select id="selectOneByKey" resultType="com.hx.phiappt.model.refund.RefundRecordConsumePay" parameterType="java.lang.Object" > |
| | | select |
| | | id,refundTotal,consumePayId,refundMethodId,isDel,createTime,editTime |
| | | id,refundTotal,numberNo,name,isMoneyPay,isExecute,consumePayId,refundMethodId,refundRecordItemId,refundRecordId,commonType,commonId,orderId,isDel,createTime,editTime |
| | | from refund_record_consume_pay |
| | | WHERE id = #{value} |
| | | </select> |
| | | |
| | | <select id="selectOneByKeyBlob" resultType="com.hx.phiappt.model.refund.RefundRecordConsumePay" parameterType="java.lang.Object" > |
| | | select |
| | | id,refundTotal,consumePayId,refundMethodId,isDel,createTime,editTime |
| | | id,refundTotal,numberNo,name,isMoneyPay,isExecute,consumePayId,refundMethodId,refundRecordItemId,refundRecordId,commonType,commonId,orderId,isDel,createTime,editTime |
| | | from refund_record_consume_pay |
| | | WHERE id = #{value} |
| | | </select> |