| | |
| | | import java.util.*; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysConfig; |
| | | import com.ruoyi.common.utils.uuid.IdUtils; |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> getArdTankLockProcessLogByCarPlate(Map<String, Object> para) { |
| | | //分页属性 |
| | | Integer pageNum = (Integer) para.get("pageNum"); |
| | | Integer pageSize = (Integer) para.get("pageSize"); |
| | | |
| | | PageHelper.startPage(pageNum, pageSize);//分页 |
| | | Map<String,Object> resultMap = new HashMap(); |
| | | if(((String) para.get("carPlate")).equals("")){ |
| | | List<ArdTankLockProcessLog> resultList = ardTankLockProcessLogMapper.getArdTankLockProcessLogAll(); |
| | | Long total = ardTankLockProcessLogMapper.getArdTankLockProcessLogTotal(); |
| | | resultMap.put("list",resultList); |
| | | resultMap.put("total",total); |
| | | return resultMap; |
| | | }else{ |
| | | List<ArdTankLockProcessLog> resultList = ardTankLockProcessLogMapper.getArdTankLockProcessLogByCarPlate("%" + (String) para.get("carPlate") + "%"); |
| | | Long total = ardTankLockProcessLogMapper.getArdTankLockProcessLogTotalByCarPlate("%" + (String) para.get("carPlate") + "%"); |
| | | resultMap.put("list",resultList); |
| | | resultMap.put("total",total); |
| | | return resultMap; |
| | | } |
| | | |
| | | } |
| | | |
| | | public Map<String,Object> sendCmd(String syURL,String userId,String carId,Integer cmdId,String cmd,String paramsStr,String sessionId){ |
| | | OkHttpClient okHttpClient = new OkHttpClient(); |
| | | |