| | |
| | | @Override |
| | | public List<StScheduleSchemeDTO> list(Map<String, Object> params) { |
| | | QueryWrapper<StScheduleSchemeEntity> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("trigger_method", "1"); |
| | | queryWrapper.eq("trigger_condition", params.get("trigger_condition")); |
| | | queryWrapper.eq("trigger_method", params.get("triggerMethod")); |
| | | queryWrapper.eq("trigger_condition", params.get("triggerCondition")); |
| | | List<StScheduleSchemeEntity> list = baseDao.selectList(queryWrapper); |
| | | return ConvertUtils.sourceToTarget(list, StScheduleSchemeDTO.class); |
| | | } |