feat:回调
This commit is contained in:
@@ -87,4 +87,8 @@ public class LinePayDAO {
|
||||
public Integer deleteById(Long id,String userId) {
|
||||
return linePayMapper.deleteById(id,userId);
|
||||
}
|
||||
|
||||
public LinePayDO selectByPaymentReceiptCode(String paymentReceiptCode) {
|
||||
return linePayMapper.selectByPaymentReceiptCode(paymentReceiptCode);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,4 +60,6 @@ public interface LinePayMapper {
|
||||
List<LinePayDO>getFranchiseFeePayInfoByShopId(@Param("shopId") Long shopId);
|
||||
|
||||
Integer deleteById(@Param("id") Long id,@Param("userId")String userId);
|
||||
|
||||
LinePayDO selectByPaymentReceiptCode(@Param("paymentReceiptCode") String paymentReceiptCode);
|
||||
}
|
||||
@@ -393,4 +393,9 @@
|
||||
<update id="deleteById">
|
||||
update xfsg_line_pay set deleted = 1 ,update_time = now(),update_user_id = #{userId} where id = #{id}
|
||||
</update>
|
||||
</mapper>
|
||||
|
||||
<select id="selectByPaymentReceiptCode" resultType="com.cool.store.entity.LinePayDO">
|
||||
select * from xfsg_line_pay where deleted = 0 and payment_receipt_code = #{paymentReceiptCode} and pay_business_type = 1 order by create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user