| | |
| | | <!-- 整个实体类修改,表字段=实体类字段--> |
| | | <sql id="Update_Column_All"> |
| | | <trim prefixOverrides=","> |
| | | ,numberNo = #{numberNo},refundNumberNo = #{refundNumberNo},name = #{name},paymentMethodId = #{paymentMethodId},headPrice = #{headPrice},tailPrice = #{tailPrice},actualTotal = #{actualTotal},realRefundTotal = #{realRefundTotal},isMoneyPay = #{isMoneyPay},isExecute = #{isExecute},isPay = #{isPay},commonType = #{commonType},commonId = #{commonId},orderId = #{orderId},refundRecordItemId = #{refundRecordItemId},refundRecordId = #{refundRecordId},refundMethodId = #{refundMethodId},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},actualTotal = #{actualTotal},realRefundTotal = #{realRefundTotal},commonType = #{commonType},commonId = #{commonId},orderId = #{orderId},refundRecordItemId = #{refundRecordItemId},refundRecordId = #{refundRecordId},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_item_method (id,numberNo,refundNumberNo,name,paymentMethodId,headPrice,tailPrice,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,commonType,commonId,orderId,refundRecordItemId,refundRecordId,refundMethodId,isDel,createTime,editTime) values (#{id},#{numberNo},#{refundNumberNo},#{name},#{paymentMethodId},#{headPrice},#{tailPrice},#{actualTotal},#{realRefundTotal},#{isMoneyPay},#{isExecute},#{isPay},#{commonType},#{commonId},#{orderId},#{refundRecordItemId},#{refundRecordId},#{refundMethodId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_record_item_method (id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,actualTotal,realRefundTotal,commonType,commonId,orderId,refundRecordItemId,refundRecordId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{isMoneyPay},#{isExecute},#{isPay},#{refundNumberNo},#{refundName},#{refundMethodId},#{isMoneyPayRefund},#{isExecuteRefund},#{actualTotal},#{realRefundTotal},#{commonType},#{commonId},#{orderId},#{refundRecordItemId},#{refundRecordId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <insert id="insertById" parameterType="com.hx.phiappt.model.refund.RefundRecordItemMethod"> |
| | | insert into refund_record_item_method (id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,actualTotal,realRefundTotal,commonType,commonId,orderId,refundRecordItemId,refundRecordId,isDel,createTime,editTime) values (#{id},#{numberNo},#{name},#{paymentMethodId},#{isMoneyPay},#{isExecute},#{isPay},#{refundNumberNo},#{refundName},#{refundMethodId},#{isMoneyPayRefund},#{isExecuteRefund},#{actualTotal},#{realRefundTotal},#{commonType},#{commonId},#{orderId},#{refundRecordItemId},#{refundRecordId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <select id="selectList" resultType="com.hx.phiappt.model.refund.RefundRecordItemMethod" parameterType="com.hx.mybatisTool.SqlSentence" > |
| | | ${sqlSentence} |
| | |
| | | |
| | | <select id="selectOneByKey" resultType="com.hx.phiappt.model.refund.RefundRecordItemMethod" parameterType="java.lang.Object" > |
| | | select |
| | | id,numberNo,refundNumberNo,name,paymentMethodId,headPrice,tailPrice,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,commonType,commonId,orderId,refundRecordItemId,refundRecordId,refundMethodId,isDel,createTime,editTime |
| | | id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,actualTotal,realRefundTotal,commonType,commonId,orderId,refundRecordItemId,refundRecordId,isDel,createTime,editTime |
| | | from refund_record_item_method |
| | | WHERE id = #{value} |
| | | </select> |
| | | |
| | | <select id="selectOneByKeyBlob" resultType="com.hx.phiappt.model.refund.RefundRecordItemMethod" parameterType="java.lang.Object" > |
| | | select |
| | | id,numberNo,refundNumberNo,name,paymentMethodId,headPrice,tailPrice,actualTotal,realRefundTotal,isMoneyPay,isExecute,isPay,commonType,commonId,orderId,refundRecordItemId,refundRecordId,refundMethodId,isDel,createTime,editTime |
| | | id,numberNo,name,paymentMethodId,isMoneyPay,isExecute,isPay,refundNumberNo,refundName,refundMethodId,isMoneyPayRefund,isExecuteRefund,actualTotal,realRefundTotal,commonType,commonId,orderId,refundRecordItemId,refundRecordId,isDel,createTime,editTime |
| | | from refund_record_item_method |
| | | WHERE id = #{value} |
| | | </select> |