diff --git a/snow-admin/src/main/resources/templates/system/payment/add.html b/snow-admin/src/main/resources/templates/system/payment/add.html new file mode 100644 index 0000000..35672bc --- /dev/null +++ b/snow-admin/src/main/resources/templates/system/payment/add.html @@ -0,0 +1,115 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/snow-admin/src/main/resources/templates/system/payment/edit.html b/snow-admin/src/main/resources/templates/system/payment/edit.html new file mode 100644 index 0000000..9ce43f0 --- /dev/null +++ b/snow-admin/src/main/resources/templates/system/payment/edit.html @@ -0,0 +1,110 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/snow-admin/src/main/resources/templates/system/payment/payment.html b/snow-admin/src/main/resources/templates/system/payment/payment.html new file mode 100644 index 0000000..ebea4db --- /dev/null +++ b/snow-admin/src/main/resources/templates/system/payment/payment.html @@ -0,0 +1,165 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/snow-system/src/main/java/com/snow/system/mapper/SysFnPaymentMapper.java b/snow-system/src/main/java/com/snow/system/mapper/SysFnPaymentMapper.java new file mode 100644 index 0000000..8806607 --- /dev/null +++ b/snow-system/src/main/java/com/snow/system/mapper/SysFnPaymentMapper.java @@ -0,0 +1,62 @@ +package com.snow.system.mapper; + +import java.util.List; +import com.snow.system.domain.SysFnPayment; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * 支付申请Mapper接口 + * + * @author Agee + * @date 2022-02-19 + */ +public interface SysFnPaymentMapper extends BaseMapper +{ + /** + * 查询支付申请 + * + * @param id 支付申请ID + * @return 支付申请 + */ + public SysFnPayment selectSysFnPaymentById(Long id); + + /** + * 查询支付申请列表 + * + * @param sysFnPayment 支付申请 + * @return 支付申请集合 + */ + public List selectSysFnPaymentList(SysFnPayment sysFnPayment); + + /** + * 新增支付申请 + * + * @param sysFnPayment 支付申请 + * @return 结果 + */ + public int insertSysFnPayment(SysFnPayment sysFnPayment); + + /** + * 修改支付申请 + * + * @param sysFnPayment 支付申请 + * @return 结果 + */ + public int updateSysFnPayment(SysFnPayment sysFnPayment); + + /** + * 删除支付申请 + * + * @param id 支付申请ID + * @return 结果 + */ + public int deleteSysFnPaymentById(Long id); + + /** + * 批量删除支付申请 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteSysFnPaymentByIds(String[] ids); +} diff --git a/snow-system/src/main/java/com/snow/system/service/ISysFnPaymentService.java b/snow-system/src/main/java/com/snow/system/service/ISysFnPaymentService.java new file mode 100644 index 0000000..36ad3f7 --- /dev/null +++ b/snow-system/src/main/java/com/snow/system/service/ISysFnPaymentService.java @@ -0,0 +1,62 @@ +package com.snow.system.service; + +import java.util.List; +import com.snow.system.domain.SysFnPayment; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + * 支付申请Service接口 + * + * @author Agee + * @date 2022-02-19 + */ +public interface ISysFnPaymentService extends IService +{ + /** + * 查询支付申请 + * + * @param id 支付申请ID + * @return 支付申请 + */ + public SysFnPayment selectSysFnPaymentById(Long id); + + /** + * 查询支付申请列表 + * + * @param sysFnPayment 支付申请 + * @return 支付申请集合 + */ + public List selectSysFnPaymentList(SysFnPayment sysFnPayment); + + /** + * 新增支付申请 + * + * @param sysFnPayment 支付申请 + * @return 结果 + */ + public int insertSysFnPayment(SysFnPayment sysFnPayment); + + /** + * 修改支付申请 + * + * @param sysFnPayment 支付申请 + * @return 结果 + */ + public int updateSysFnPayment(SysFnPayment sysFnPayment); + + /** + * 批量删除支付申请 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteSysFnPaymentByIds(String ids); + + /** + * 删除支付申请信息 + * + * @param id 支付申请ID + * @return 结果 + */ + public int deleteSysFnPaymentById(Long id); +} diff --git a/snow-system/src/main/resources/mapper/system/SysFnPaymentMapper.xml b/snow-system/src/main/resources/mapper/system/SysFnPaymentMapper.xml new file mode 100644 index 0000000..e8d7b17 --- /dev/null +++ b/snow-system/src/main/resources/mapper/system/SysFnPaymentMapper.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + select id, payment_no, order_price, payment_price, payment_title, relate_no, relate_no_type, payment_time, payment_status, process_status, payment_user, is_delete, create_time, create_by, update_time, update_by, payment_remark from sys_fn_payment + + + + + + + + insert into sys_fn_payment + + payment_no, + order_price, + payment_price, + payment_title, + relate_no, + relate_no_type, + payment_time, + payment_status, + process_status, + payment_user, + is_delete, + create_time, + create_by, + update_time, + update_by, + payment_remark, + + + #{paymentNo}, + #{orderPrice}, + #{paymentPrice}, + #{paymentTitle}, + #{relateNo}, + #{relateNoType}, + #{paymentTime}, + #{paymentStatus}, + #{processStatus}, + #{paymentUser}, + #{isDelete}, + #{createTime}, + #{createBy}, + #{updateTime}, + #{updateBy}, + #{paymentRemark}, + + + + + update sys_fn_payment + + payment_no = #{paymentNo}, + order_price = #{orderPrice}, + payment_price = #{paymentPrice}, + payment_title = #{paymentTitle}, + relate_no = #{relateNo}, + relate_no_type = #{relateNoType}, + payment_time = #{paymentTime}, + payment_status = #{paymentStatus}, + process_status = #{processStatus}, + payment_user = #{paymentUser}, + is_delete = #{isDelete}, + create_time = #{createTime}, + create_by = #{createBy}, + update_time = #{updateTime}, + update_by = #{updateBy}, + payment_remark = #{paymentRemark}, + + where id = #{id} + + + + delete from sys_fn_payment where id = #{id} + + + + delete from sys_fn_payment where id in + + #{id} + + + + \ No newline at end of file