| | |
| | | <!-- 整个实体类修改,表字段=实体类字段--> |
| | | <sql id="Update_Column_All"> |
| | | <trim prefixOverrides=","> |
| | | ,platTrxNo = #{platTrxNo},refunNo = #{refunNo},refundTotal = #{refundTotal},refundRecordId = #{refundRecordId},refundRecordMethodId = #{refundRecordMethodId},orderId = #{orderId},userId = #{userId},consumeNotifyId = #{consumeNotifyId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime} |
| | | ,outOrderNo = #{outOrderNo},platTrxNo = #{platTrxNo},refunNo = #{refunNo},refundTotal = #{refundTotal},refundRecordId = #{refundRecordId},orderId = #{orderId},consumeNotifyId = #{consumeNotifyId},isDel = #{isDel},createTime = #{createTime},editTime = #{editTime} |
| | | </trim> |
| | | </sql> |
| | | |
| | |
| | | <selectKey keyProperty="id" resultType="String" order="BEFORE"> |
| | | select replace(uuid(),'-','') from dual |
| | | </selectKey> |
| | | insert into refund_cash (id,platTrxNo,refunNo,refundTotal,refundRecordId,refundRecordMethodId,orderId,userId,consumeNotifyId,isDel,createTime,editTime) values (#{id},#{platTrxNo},#{refunNo},#{refundTotal},#{refundRecordId},#{refundRecordMethodId},#{orderId},#{userId},#{consumeNotifyId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_cash (id,outOrderNo,platTrxNo,refunNo,refundTotal,refundRecordId,orderId,consumeNotifyId,isDel,createTime,editTime) values (#{id},#{outOrderNo},#{platTrxNo},#{refunNo},#{refundTotal},#{refundRecordId},#{orderId},#{consumeNotifyId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <insert id="insertById" parameterType="com.hx.phiappt.model.refund.RefundCash"> |
| | | insert into refund_cash (id,platTrxNo,refunNo,refundTotal,refundRecordId,refundRecordMethodId,orderId,userId,consumeNotifyId,isDel,createTime,editTime) values (#{id},#{platTrxNo},#{refunNo},#{refundTotal},#{refundRecordId},#{refundRecordMethodId},#{orderId},#{userId},#{consumeNotifyId},#{isDel},#{createTime},#{editTime}) |
| | | insert into refund_cash (id,outOrderNo,platTrxNo,refunNo,refundTotal,refundRecordId,orderId,consumeNotifyId,isDel,createTime,editTime) values (#{id},#{outOrderNo},#{platTrxNo},#{refunNo},#{refundTotal},#{refundRecordId},#{orderId},#{consumeNotifyId},#{isDel},#{createTime},#{editTime}) |
| | | </insert> |
| | | |
| | | <select id="selectList" resultType="com.hx.phiappt.model.refund.RefundCash" parameterType="com.hx.mybatisTool.SqlSentence" > |
| | |
| | | |
| | | <select id="selectOneByKey" resultType="com.hx.phiappt.model.refund.RefundCash" parameterType="java.lang.Object" > |
| | | select |
| | | id,platTrxNo,refunNo,refundTotal,refundRecordId,refundRecordMethodId,orderId,userId,consumeNotifyId,isDel,createTime,editTime |
| | | id,outOrderNo,platTrxNo,refunNo,refundTotal,refundRecordId,orderId,consumeNotifyId,isDel,createTime,editTime |
| | | from refund_cash |
| | | WHERE id = #{value} |
| | | </select> |
| | | |
| | | <select id="selectOneByKeyBlob" resultType="com.hx.phiappt.model.refund.RefundCash" parameterType="java.lang.Object" > |
| | | select |
| | | id,platTrxNo,refunNo,refundTotal,refundRecordId,refundRecordMethodId,orderId,userId,consumeNotifyId,isDel,createTime,editTime |
| | | id,outOrderNo,platTrxNo,refunNo,refundTotal,refundRecordId,orderId,consumeNotifyId,isDel,createTime,editTime |
| | | from refund_cash |
| | | WHERE id = #{value} |
| | | </select> |