修复总计
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| package com.ruoyi.custom.service; | ||||
|  | ||||
| import java.math.BigDecimal; | ||||
| import java.util.List; | ||||
| import com.ruoyi.custom.domain.SysOrder; | ||||
|  | ||||
| @@ -58,4 +59,11 @@ public interface ISysOrderService | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     public int deleteSysOrderById(Long orderId); | ||||
|  | ||||
|     /** | ||||
|      * 计算所有订单总额 | ||||
|      * @param sysOrder | ||||
|      * @return | ||||
|      */ | ||||
|     public BigDecimal selectAllOrderAmount(SysOrder sysOrder); | ||||
| } | ||||
| @@ -1,5 +1,6 @@ | ||||
| package com.ruoyi.custom.service.impl; | ||||
|  | ||||
| import java.math.BigDecimal; | ||||
| import java.util.Date; | ||||
| import java.util.List; | ||||
|  | ||||
| @@ -91,4 +92,14 @@ public class SysOrderServiceImpl implements ISysOrderService { | ||||
|     public int deleteSysOrderById(Long orderId) { | ||||
|         return sysOrderMapper.deleteSysOrderById(orderId); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * 计算所有订单总额 | ||||
|      * @param sysOrder | ||||
|      * @return | ||||
|      */ | ||||
|     @Override | ||||
|     public BigDecimal selectAllOrderAmount(SysOrder sysOrder) { | ||||
|         return sysOrderMapper.selectAllOrderAmount(sysOrder); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user