| | |
| | | String syURL = sysConfigService.getSYURL(); |
| | | return ardSyCarService.getCarGPSTrack(map,syURL, ardSyUser); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('sy:syCar:getArdSyUserByUsersId')") |
| | | @PostMapping("getArdSyUserByUsersId") |
| | | @ApiOperation("获取三一平台对应用户名密码") |
| | | public Results getArdSyUserByUsersId(@RequestBody Map<String,String> map) { |
| | | String usersId = SecurityUtils.getUserId(); |
| | | ArdSyUser ardSyUser = iArdSyUserService.userById(usersId); |
| | | return Results.succeed(ardSyUser); |
| | | } |
| | | } |
| | |
| | | List<Map<String,String>> carIdByDeptList(List<Long> deptList,List<Map<String,String>> list); |
| | | |
| | | Results getCarGPSTrack(Map<String,String> map,String syURL, ArdSyUser ardSyUser); |
| | | |
| | | } |
| | |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.sy.domain.ArdSyUser; |
| | | import com.ruoyi.utils.result.Results; |
| | | |
| | | /** |
| | | * 三一车辆用户Service接口 |
| | |
| | | * 查询未挂接三一车辆账号密码 |
| | | */ |
| | | public List<ArdSyUser> selectSyUser(); |
| | | |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public Map<String,List<String>> getInfo(String type,String stts){ |
| | | if(stts.isEmpty()){ |
| | | return new HashMap<>(); |
| | |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.utils.result.Results; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.ruoyi.sy.mapper.ArdSyUserMapper; |
| | |
| | | List<ArdSyUser> result = ardSyUserMapper.selectSyUser(); |
| | | return result; |
| | | } |
| | | |
| | | } |