| | |
| | | import com.moral.common.bean.AppData;
|
| | | import com.moral.common.bean.ResultBean;
|
| | | import com.moral.common.util.Crypto;
|
| | | import com.moral.common.util.WebUtils;
|
| | | import com.moral.entity.Account;
|
| | | import com.moral.entity.Device;
|
| | | import com.moral.entity.MonitorPoint;
|
| | |
| | | List<Map<String, Object>> sensors = historyService.getSensorDataBySensorKey(parameters);
|
| | | return new ResultBean<List<Map<String, Object>>>(sensors);
|
| | | }
|
| | | |
| | | @RequestMapping("profession-provincecode")
|
| | | public ResultBean<List<Profession>> getProfessionByProvinceCode(HttpServletRequest request){
|
| | | Map<String, Object> parameters = WebUtils.getParametersStartingWith(request, null);
|
| | | List<Profession> professions = professionService.getProfessiontList(parameters);
|
| | | return new ResultBean<List<Profession>>(professions);
|
| | | }
|
| | |
|
| | | }
|