| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.stylefeng.guns.core.shiro.ShiroKit; |
| | | import com.stylefeng.guns.modular.system.controller.resp.PerformanceTableResp; |
| | | import com.stylefeng.guns.modular.system.controller.resp.RevenueExpenditureResp; |
| | | import com.stylefeng.guns.modular.system.dao.*; |
| | | import com.stylefeng.guns.modular.system.enums.CashWithdrawalTypeEnum; |
| | |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import java.util.Optional; |
| | |
| | | model.addAttribute("evaluateContent",""); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public void getDataStatisticsIncomeOrCommission(Integer agentId, String monthDate, Integer type, Model model) { |
| | | List<PerformanceTableResp> list = new ArrayList<>(); |
| | | if(2 == type){ |
| | | list = tRevenueMapper.getDataStatisticsIncomeOrCommission(agentId,1,monthDate); |
| | | } |
| | | if (3 == type){ |
| | | list = tRevenueMapper.getDataStatisticsIncomeOrCommission(agentId,2,monthDate); |
| | | } |
| | | model.addAttribute("performanceResp",list); |
| | | } |
| | | } |