chenjiahe
2023-04-02 2a45d42cebd76d0f0add392c0e06d2cbbb36c63f
phi_platform_common/src/main/resources/mapper/platform/RefundRecordItemMethodMapper.xml
@@ -8,7 +8,7 @@
   <!-- 整个实体类修改,表字段=实体类字段-->
   <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>
    
@@ -19,8 +19,12 @@
       <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}
@@ -51,14 +55,14 @@
   <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>