| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.yuanchu.mom.common.GetLook; |
| | | import com.yuanchu.mom.common.PrintChina; |
| | | import com.yuanchu.mom.dto.DataReportingPageDto; |
| | | import com.yuanchu.mom.pojo.FansSubmit; |
| | |
| | | |
| | | private FansSubmitMapper fansSubmitMapper; |
| | | |
| | | private GetLook getLook; |
| | | |
| | | @Override |
| | | public Map<String, Object> selectFansSubmitList(IPage<FansSubmit> page, FansSubmit fansSubmit) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(FansSubmit.class)); |
| | | Map<String, Integer> map1 = getLook.selectPowerByMethodAndUserId("selectDataReportingList"); |
| | | if(map1.get("look")==1) fansSubmit.setCreateUser(map1.get("userId")); |
| | | map.put("body", fansSubmitMapper.selectFansSubmitPageList(page, QueryWrappers.queryWrappers(fansSubmit))); |
| | | return map; |
| | | } |