| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.stylefeng.guns.core.beetl.ShiroExtUtil; |
| | | import com.stylefeng.guns.core.shiro.ShiroKit; |
| | | import com.stylefeng.guns.modular.system.controller.resp.DataStatisticsOrderYearResp; |
| | | import com.stylefeng.guns.modular.system.controller.resp.PerformanceTableResp; |
| | |
| | | @Resource |
| | | private TSystemConfigMapper systemConfigMapper; |
| | | |
| | | @Autowired |
| | | private ShiroExtUtil shiroExtUtil; |
| | | |
| | | @Override |
| | | public List<TOrderResp> getOrderList(String createTime, String code, Integer source, String userName, String userPhone, Integer state, String driverName,Integer isException) { |
| | | String startTime = null; |
| | |
| | | startTime = split[0] + " 00:00:00"; |
| | | endTime = split[1] + " 23:59:59"; |
| | | } |
| | | Integer roleType = Objects.requireNonNull(ShiroKit.getUser()).getRoleType(); |
| | | Integer objectId = Objects.requireNonNull(ShiroKit.getUser()).getObjectId(); |
| | | Integer roleType = Objects.requireNonNull(shiroExtUtil.getUser()).getRoleType(); |
| | | Integer objectId = Objects.requireNonNull(shiroExtUtil.getUser()).getObjectId(); |
| | | return tOrderMapper.getOrderList(startTime,endTime,code,source,userName,userPhone,state,driverName,isException,roleType,objectId); |
| | | } |
| | | |
| | |
| | | tSystemConfig.setBranchOfficeId(tDriver.getBranchOfficeId()); |
| | | TSystemConfig tSystemConfig2 = systemConfigMapper.selectOne(tSystemConfig); |
| | | |
| | | if(Objects.nonNull(tSystemConfig1)){ |
| | | if(Objects.nonNull(tSystemConfig2)){ |
| | | |
| | | JSONObject jsonObject2 = JSONObject.parseObject(tSystemConfig2.getContent()); |
| | | Integer num24 = jsonObject2.getInteger("num4"); |