Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
601734d0
Commit
601734d0
authored
Jul 07, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码迁移删除无用类
parent
a42121c8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
620 deletions
+0
-620
AlertFormController.java
...oot/module/common/biz/controller/AlertFormController.java
+0
-178
AlertFormTypeController.java
...module/common/biz/controller/AlertFormTypeController.java
+0
-140
AlertFormValueController.java
...odule/common/biz/controller/AlertFormValueController.java
+0
-143
AlertFormServiceImpl.java
.../module/common/biz/service/impl/AlertFormServiceImpl.java
+0
-104
AlertFormTypeServiceImpl.java
...ule/common/biz/service/impl/AlertFormTypeServiceImpl.java
+0
-20
AlertFormValueServiceImpl.java
...le/common/biz/service/impl/AlertFormValueServiceImpl.java
+0
-35
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/AlertFormController.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.controller;
//
//import com.alibaba.fastjson.JSON;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.yeejoin.amos.boot.biz.common.controller.BaseController;
//import com.yeejoin.amos.boot.biz.common.utils.NameUtils;
//import com.yeejoin.amos.boot.biz.common.utils.RedisKey;
//import com.yeejoin.amos.boot.biz.common.utils.RedisUtils;
//import com.yeejoin.amos.boot.module.common.api.dto.AlertFormInitDto;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertForm;
//import com.yeejoin.amos.boot.module.common.biz.service.impl.AlertFormServiceImpl;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.apache.commons.lang3.StringUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.web.bind.annotation.*;
//import org.typroject.tyboot.core.foundation.enumeration.UserType;
//import org.typroject.tyboot.core.restful.doc.TycloudOperation;
//import org.typroject.tyboot.core.restful.utils.ResponseHelper;
//import org.typroject.tyboot.core.restful.utils.ResponseModel;
//
//import javax.servlet.http.HttpServletRequest;
//import java.util.ArrayList;
//import java.util.Arrays;
//import java.util.List;
//
//
///**
//* 警情表单
//*
//* @author tb
//* @date 2021-06-17
//*/
//@RestController
//@Api(tags = "警情表单Api")
//@RequestMapping(value = "/alert-form")
//public class AlertFormController extends BaseController {
//
// @Autowired
// AlertFormServiceImpl iAlertFormService;
//
// @Autowired
// RedisUtils redisUtils;
// @Value("${redis.cache.failure.time}")
// private long time;
// /**
// * 新增警情表单
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/save", method = RequestMethod.POST)
// @ApiOperation(httpMethod = "POST", value = "新增警情表单", notes = "新增警情表单")
// public boolean saveAlertForm(HttpServletRequest request, @RequestBody AlertForm alertForm){
// return iAlertFormService.save(alertForm);
// }
//
// /**
// * 根据id删除
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
// @ApiOperation(httpMethod = "DELETE", value = "根据id删除", notes = "根据id删除")
// public boolean deleteById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormService.removeById(id);
// }
//
//
//
//
// /**
// * 修改警情表单
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/updateById", method = RequestMethod.PUT)
// @ApiOperation(httpMethod = "PUT", value = "修改警情表单", notes = "修改警情表单")
// public boolean updateByIdAlertForm(HttpServletRequest request, @RequestBody AlertForm alertForm){
// return iAlertFormService.updateById(alertForm);
// }
//
//
//
// /**
// * 根据id查询
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "根据id查询", notes = "根据id查询")
// public AlertForm selectById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormService.getById(id);
// }
//
//
//
//
// /**
// * 根据表态类型code查询表单数据项
// * @param id
// * @return
// */
//
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/form/{code}", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "根据表态类型code查询表单数据项", notes = "根据表态类型code查询表单数据项")
// public ResponseModel<Object> selectFormdItem(HttpServletRequest request, @PathVariable String code){
// List<AlertFormInitDto> list=new ArrayList<AlertFormInitDto>();
// if(redisUtils.hasKey(RedisKey.FORM_CODE+code)){
// Object obj= redisUtils.get(RedisKey.FORM_CODE+code);
// return ResponseHelper.buildResponse(obj);
// }else{
// list= iAlertFormService.getFormlist(code);
// redisUtils.set(RedisKey.FORM_CODE+code,JSON.toJSON(list),time);
// return ResponseHelper.buildResponse(list);
// }
// }
//
//
//
//
//
//
//
// /**
// * 列表分页查询
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/list", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "列表分页查询", notes = "列表分页查询")
// public IPage<AlertForm> listPage(String pageNum,String pageSize, AlertForm alertForm){
//
// Page<AlertForm> pageBean;
// QueryWrapper<AlertForm> alertFormQueryWrapper = new QueryWrapper<>();
// Class<? extends AlertForm> aClass = alertForm.getClass();
// Arrays.stream(aClass.getDeclaredFields()).forEach(field -> {
// try {
// field.setAccessible(true);
// Object o = field.get(alertForm);
// if (o != null) {
// Class<?> type = field.getType();
// String name = NameUtils.camel2Underline(field.getName());
// if (type.equals(Integer.class)) {
// Integer fileValue = (Integer) field.get(alertForm);
// alertFormQueryWrapper.eq(name, fileValue);
// } else if (type.equals(Long.class)) {
// Long fileValue = (Long) field.get(alertForm);
// alertFormQueryWrapper.eq(name, fileValue);
// } else if (type.equals(String.class)) {
// String fileValue = (String) field.get(alertForm);
// alertFormQueryWrapper.eq(name, fileValue);
// } else {
// String fileValue = (String) field.get(alertForm);
// alertFormQueryWrapper.eq(name, fileValue);
// }
// }
// } catch (Exception e) {
// throw new RuntimeException("系统异常");
// }
// });
// IPage<AlertForm> page;
// if (StringUtils.isBlank(pageNum) || StringUtils.isBlank(pageSize)) {
// pageBean = new Page<>(0, Long.MAX_VALUE);
// } else {
// pageBean = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
// }
// page = iAlertFormService.page(pageBean, alertFormQueryWrapper);
// return page;
// }
// }
//
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/AlertFormTypeController.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.controller;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.yeejoin.amos.boot.biz.common.controller.BaseController;
//import com.yeejoin.amos.boot.biz.common.utils.NameUtils;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertFormType;
//import com.yeejoin.amos.boot.module.common.biz.service.impl.AlertFormTypeServiceImpl;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.apache.commons.lang3.StringUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//import org.typroject.tyboot.core.foundation.enumeration.UserType;
//import org.typroject.tyboot.core.restful.doc.TycloudOperation;
//
//import javax.servlet.http.HttpServletRequest;
//import java.util.Arrays;
//
//
///**
//* 动态表单类型
//*
//* @author tb
//* @date 2021-06-17
//*/
//@RestController
//@Api(tags = "动态表单类型Api")
//@RequestMapping(value = "/alert-Form-type")
//public class AlertFormTypeController extends BaseController {
//
// @Autowired
// AlertFormTypeServiceImpl iAlertFormTypeService;
//
// /**
// * 新增动态表单类型
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/save", method = RequestMethod.POST)
// @ApiOperation(httpMethod = "POST", value = "新增动态表单类型", notes = "新增动态表单类型")
// public boolean saveAlertFormType(HttpServletRequest request, @RequestBody AlertFormType alertFormType){
// return iAlertFormTypeService.save(alertFormType);
// }
//
// /**
// * 根据id删除
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
// @ApiOperation(httpMethod = "DELETE", value = "根据id删除", notes = "根据id删除")
// public boolean deleteById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormTypeService.removeById(id);
// }
//
//
//
//
// /**
// * 修改动态表单类型
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/updateById", method = RequestMethod.PUT)
// @ApiOperation(httpMethod = "PUT", value = "修改动态表单类型", notes = "修改动态表单类型")
// public boolean updateByIdAlertFormType(HttpServletRequest request, @RequestBody AlertFormType alertFormType){
// return iAlertFormTypeService.updateById(alertFormType);
// }
//
//
//
// /**
// * 根据id查询
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "根据id查询", notes = "根据id查询")
// public AlertFormType selectById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormTypeService.getById(id);
// }
//
//
//
// /**
// * 列表分页查询
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/list", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "列表分页查询", notes = "列表分页查询")
// public IPage<AlertFormType> listPage(String pageNum,String pageSize, AlertFormType alertFormType){
//
// Page<AlertFormType> pageBean;
// QueryWrapper<AlertFormType> alertFormTypeQueryWrapper = new QueryWrapper<>();
// Class<? extends AlertFormType> aClass = alertFormType.getClass();
// Arrays.stream(aClass.getDeclaredFields()).forEach(field -> {
// try {
// field.setAccessible(true);
// Object o = field.get(alertFormType);
// if (o != null) {
// Class<?> type = field.getType();
// String name = NameUtils.camel2Underline(field.getName());
// if (type.equals(Integer.class)) {
// Integer fileValue = (Integer) field.get(alertFormType);
// alertFormTypeQueryWrapper.eq(name, fileValue);
// } else if (type.equals(Long.class)) {
// Long fileValue = (Long) field.get(alertFormType);
// alertFormTypeQueryWrapper.eq(name, fileValue);
// } else if (type.equals(String.class)) {
// String fileValue = (String) field.get(alertFormType);
// alertFormTypeQueryWrapper.eq(name, fileValue);
// } else {
// if(!name.equals(NameUtils.camel2Underline("serialVersionUID"))) {
// String fileValue = (String) field.get(alertFormType);
// alertFormTypeQueryWrapper.eq(name, fileValue);
// }
//
// }
// }
// } catch (Exception e) {
// throw new RuntimeException("系统异常");
// }
// });
// IPage<AlertFormType> page;
// if (StringUtils.isBlank(pageNum) || StringUtils.isBlank(pageSize)) {
// pageBean = new Page<>(0, Long.MAX_VALUE);
// } else {
// pageBean = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
// }
// page = iAlertFormTypeService.page(pageBean, alertFormTypeQueryWrapper);
// return page;
// }
// }
//
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/AlertFormValueController.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.controller;
//
//import java.util.Arrays;
//
//import javax.servlet.http.HttpServletRequest;
//
//import org.apache.commons.lang3.StringUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//import org.typroject.tyboot.core.foundation.enumeration.UserType;
//import org.typroject.tyboot.core.restful.doc.TycloudOperation;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.yeejoin.amos.boot.biz.common.controller.BaseController;
//import com.yeejoin.amos.boot.biz.common.utils.NameUtils;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertFormValue;
//import com.yeejoin.amos.boot.module.common.biz.service.impl.AlertFormValueServiceImpl;
//
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//
//
///**
//*
//*
//* @author tb
//* @date 2021-06-17
//*/
//@RestController
//@Api(tags = "Api")
//@RequestMapping(value = "/alert-Form-value")
//public class AlertFormValueController extends BaseController {
//
// @Autowired
// AlertFormValueServiceImpl iAlertFormValueService;
//
// /**
// * 新增
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/save", method = RequestMethod.POST)
// @ApiOperation(httpMethod = "POST", value = "新增", notes = "新增")
// public boolean saveAlertFormValue(HttpServletRequest request, @RequestBody AlertFormValue alertFormValue){
// return iAlertFormValueService.save(alertFormValue);
// }
//
// /**
// * 根据id删除
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
// @ApiOperation(httpMethod = "DELETE", value = "根据id删除", notes = "根据id删除")
// public boolean deleteById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormValueService.removeById(id);
// }
//
//
//
//
// /**
// * 修改
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/updateById", method = RequestMethod.PUT)
// @ApiOperation(httpMethod = "PUT", value = "修改", notes = "修改")
// public boolean updateByIdAlertFormValue(HttpServletRequest request, @RequestBody AlertFormValue alertFormValue){
// return iAlertFormValueService.updateById(alertFormValue);
// }
//
//
//
// /**
// * 根据id查询
// * @param id
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/{id}", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "根据id查询", notes = "根据id查询")
// public AlertFormValue selectById(HttpServletRequest request, @PathVariable Long id){
// return iAlertFormValueService.getById(id);
// }
//
//
//
// /**
// * 列表分页查询
// * @return
// */
// @TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY)
// @RequestMapping(value = "/list", method = RequestMethod.GET)
// @ApiOperation(httpMethod = "GET", value = "列表分页查询", notes = "列表分页查询")
// public IPage<AlertFormValue> listPage(String pageNum,String pageSize, AlertFormValue alertFormValue){
//
// Page<AlertFormValue> pageBean;
// QueryWrapper<AlertFormValue> alertFormValueQueryWrapper = new QueryWrapper<>();
// Class<? extends AlertFormValue> aClass = alertFormValue.getClass();
// Arrays.stream(aClass.getDeclaredFields()).forEach(field -> {
// try {
// field.setAccessible(true);
// Object o = field.get(alertFormValue);
// if (o != null) {
// Class<?> type = field.getType();
// String name = NameUtils.camel2Underline(field.getName());
// if (type.equals(Integer.class)) {
// Integer fileValue = (Integer) field.get(alertFormValue);
// alertFormValueQueryWrapper.eq(name, fileValue);
// } else if (type.equals(Long.class)) {
// Long fileValue = (Long) field.get(alertFormValue);
// alertFormValueQueryWrapper.eq(name, fileValue);
// } else if (type.equals(String.class)) {
// String fileValue = (String) field.get(alertFormValue);
// alertFormValueQueryWrapper.eq(name, fileValue);
// } else {
// String fileValue = (String) field.get(alertFormValue);
// alertFormValueQueryWrapper.eq(name, fileValue);
// }
// }
// } catch (Exception e) {
// throw new RuntimeException("系统异常");
// }
// });
// IPage<AlertFormValue> page;
// if (StringUtils.isBlank(pageNum) || StringUtils.isBlank(pageSize)) {
// pageBean = new Page<>(0, Long.MAX_VALUE);
// } else {
// pageBean = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
// }
// page = iAlertFormValueService.page(pageBean, alertFormValueQueryWrapper);
// return page;
// }
// }
//
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/AlertFormServiceImpl.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.service.impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.yeejoin.amos.boot.module.common.api.dto.AlertFormDto;
//import com.yeejoin.amos.boot.module.common.api.dto.AlertFormInitDto;
//import com.yeejoin.amos.boot.module.common.api.dto.AlertListvalue;
//import com.yeejoin.amos.boot.module.common.api.dto.Items;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertForm;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertFormValue;
//import com.yeejoin.amos.boot.module.common.api.entity.DataDictionary;
//import com.yeejoin.amos.boot.module.common.api.mapper.AlertFormMapper;
//import com.yeejoin.amos.boot.module.common.api.service.IAlertFormService;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.typroject.tyboot.core.rdbms.service.BaseService;
//
//import java.text.SimpleDateFormat;
//import java.util.ArrayList;
//import java.util.Collection;
//import java.util.Date;
//import java.util.List;
//import java.util.stream.Collectors;
//
///**
// * 警情表单 服务实现类
// *
// * @author tb
// * @date 2021-06-17
// */
//@Service
//public class AlertFormServiceImpl extends BaseService<AlertFormDto, AlertForm, AlertFormMapper>
// implements IAlertFormService {
// @Autowired
// DataDictionaryServiceImpl iDataDictionaryService;
//
// public List<AlertFormInitDto> getFormlist(String code) {
//
// QueryWrapper<AlertForm> queryWrapper = new QueryWrapper<>();
// queryWrapper.eq("alert_type_code", code);
// queryWrapper.orderByAsc("sort_num");
// List<AlertForm> alertFormValue = this.list(queryWrapper);
// List<AlertFormInitDto> listfrom = new ArrayList<AlertFormInitDto>();
// // 组装数据
// for (AlertForm alertFrom : alertFormValue) {
// if (alertFrom.getFieldType().equals("string") || alertFrom.getFieldType().equals("datetime")
// || alertFrom.getFieldType().equals("textarea") || alertFrom.getFieldType().equals("inputBitmap")) {
//
// AlertFormInitDto vo = new AlertFormInitDto(alertFrom.getFieldCode(), alertFrom.getFieldName(),
// alertFrom.getFieldType(), null, alertFrom.getUrl());
// AlertFormValue alertFormValu = new AlertFormValue(alertFrom.getSequenceNbr(), alertFrom.getFieldName(),
// alertFrom.getFieldCode(), alertFrom.getBlock(), alertFrom.getAlertTypeCode(), null, null);
//
// if (alertFrom.getFieldType().equals("datetime")) {
// SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// Date date = new Date();
// String dateString = formatter.format(date);
// alertFormValu.setFieldValue(dateString);
// vo.setDefaultValue(date);
// }
// vo.setFormItemDescr(alertFormValu);
// listfrom.add(vo);
// } else {
// // 查询数据项
// QueryWrapper<DataDictionary> queryWrappercolumnMap = new QueryWrapper<>();
// queryWrappercolumnMap.eq("type", alertFrom.getFieldValueCode());
// queryWrappercolumnMap.orderByAsc("sort_num");
// Collection<DataDictionary> listDataDictionary = iDataDictionaryService.list(queryWrappercolumnMap);
// List<AlertListvalue> list = getdata(listDataDictionary);
// AlertFormInitDto vo = new AlertFormInitDto(alertFrom.getFieldCode(), alertFrom.getFieldName(),
// alertFrom.getFieldType(), new Items(list), alertFrom.getUrl());
// AlertFormValue alertFormValu = new AlertFormValue(alertFrom.getSequenceNbr(), alertFrom.getFieldName(),
// alertFrom.getFieldCode(), alertFrom.getBlock(), alertFrom.getAlertTypeCode(), null, null);
// if (alertFrom.getFieldType().equals("radio")) {
// vo.setDefaultValue(list.get(0).getValue());
// alertFormValu.setFieldValue(list.get(0).getLabel());
// alertFormValu.setFieldValueCode(list.get(0).getValue());
// }
//
// vo.setFormItemDescr(alertFormValu);
// listfrom.add(vo);
// }
// }
// return listfrom;
// }
//
// public List<AlertListvalue> getdata(Collection<DataDictionary> list) {
// List<AlertListvalue> listAlertListvalue = new ArrayList<AlertListvalue>();
// for (DataDictionary dataDictionary : list) {
//
// listAlertListvalue.add(new AlertListvalue(dataDictionary.getSequenceNbr().toString(),
// dataDictionary.getName(), dataDictionary.getCode()));
// }
// return listAlertListvalue;
// }
//
// public List<String> queryListByFormId(String groupId) {
// return this.queryListByTypeCode(groupId).stream().map(c -> c.getFieldCode()).collect(Collectors.toList());
// }
//
// public List<AlertFormDto> queryListByTypeCode(String groupId) {
// return this.queryForList(null, false, groupId);
// }
//}
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/AlertFormTypeServiceImpl.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.service.impl;
//
//import com.yeejoin.amos.boot.module.common.api.dto.AlertFormTypeDto;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertFormType;
//import com.yeejoin.amos.boot.module.common.api.mapper.AlertFormTypeMapper;
//import com.yeejoin.amos.boot.module.common.api.service.IAlertFormTypeService;
//
//import org.springframework.stereotype.Service;
//import org.typroject.tyboot.core.rdbms.service.BaseService;
//
///**
//* 动态表单类型 服务实现类
//*
//* @author tb
//* @date 2021-06-17
//*/
//@Service
//public class AlertFormTypeServiceImpl extends BaseService<AlertFormTypeDto, AlertFormType,AlertFormTypeMapper> implements IAlertFormTypeService {
//
//}
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/AlertFormValueServiceImpl.java
deleted
100644 → 0
View file @
a42121c8
//package com.yeejoin.amos.boot.module.common.biz.service.impl;
//
//import java.util.List;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import org.typroject.tyboot.core.rdbms.service.BaseService;
//
//import com.yeejoin.amos.boot.module.common.api.dto.AlertFormValueDto;
//import com.yeejoin.amos.boot.module.common.api.entity.AlertFormValue;
//import com.yeejoin.amos.boot.module.common.api.mapper.AlertFormValueMapper;
//import com.yeejoin.amos.boot.module.common.api.service.IAlertFormValueService;
//
//
///**
//* 服务实现类
//*
//* @author tb
//* @date 2021-06-17
//*/
//@Service
//public class AlertFormValueServiceImpl extends BaseService<AlertFormValueDto,AlertFormValue,AlertFormValueMapper> implements IAlertFormValueService {
//
// @Autowired
// private AlertFormValueMapper alertFormValueMapper;
//
// public List<AlertFormValueDto> queryByCalledId(Long alertCalledId) {
// return this.queryForList(null, false, alertCalledId);
// }
//
// public List<AlertFormValueDto> listByCalledId(Long id) {
// return alertFormValueMapper.selectListByCalledId(id);
// }
//
//}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment