| | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.stylefeng.guns.core.util.ToolUtil; |
| | | import com.stylefeng.guns.modular.system.model.TCompany; |
| | | import com.stylefeng.guns.modular.system.model.TOrderPrivateCar; |
| | | import com.stylefeng.guns.modular.system.dao.TOrderPrivateCarMapper; |
| | | import com.stylefeng.guns.modular.system.model.TServerCarmodel; |
| | | import com.stylefeng.guns.modular.system.service.ITCompanyService; |
| | | import com.stylefeng.guns.modular.system.service.ITOrderPrivateCarService; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.stylefeng.guns.modular.system.service.ITServerCarmodelService; |
| | |
| | | |
| | | @Autowired |
| | | private ITServerCarmodelService serverCarmodelService; |
| | | |
| | | @Autowired |
| | | private ITCompanyService companyService; |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | map.put("serverCarModelName", collect); |
| | | } |
| | | |
| | | if(null != map.get("companyId")){ |
| | | TCompany company = companyService.selectById(map.get("companyId").toString()); |
| | | if(company!=null){ |
| | | map.put("companyName", company.getName()); |
| | | } |
| | | } |
| | | } |
| | | return privateCarOrderList; |
| | | } |
| | |
| | | } |
| | | map.put("serverCarModelName", collect); |
| | | } |
| | | |
| | | if(null != map.get("companyId")){ |
| | | TCompany company = companyService.selectById(map.get("companyId").toString()); |
| | | if(company!=null){ |
| | | map.put("companyName", company.getName()); |
| | | } |
| | | } |
| | | } |
| | | return privateCarOrderList; |
| | | } |