From e4d7af7a4c8484d33d5aa0cd2a13390368567c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E4=BC=91?= <438081243@qq.com> Date: Sun, 8 Sep 2019 22:47:11 +0800 Subject: [PATCH] =?UTF-8?q?!7=20=E5=AD=97=E5=85=B8=E8=A1=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=20*=20=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/DictDataController.java | 142 ++ .../controller/admin/DictTypeController.java | 154 ++ .../test/mapper/auto/TSysDictDataMapper.java | 33 + .../test/mapper/auto/TSysDictTypeMapper.java | 39 + .../com/fc/test/model/auto/TSysDictData.java | 246 +++ .../test/model/auto/TSysDictDataExample.java | 1347 +++++++++++++++++ .../com/fc/test/model/auto/TSysDictType.java | 161 ++ .../test/model/auto/TSysDictTypeExample.java | 921 +++++++++++ .../fc/test/service/SysDictDataService.java | 141 ++ .../fc/test/service/SysDictTypeService.java | 150 ++ .../mybatis/auto/TSysDictDataMapper.xml | 446 ++++++ .../mybatis/auto/TSysDictTypeMapper.xml | 356 +++++ .../templates/admin/dict_data/add.html | 208 +++ .../templates/admin/dict_data/edit.html | 174 +++ .../templates/admin/dict_data/list.html | 291 ++++ .../templates/admin/dict_type/add.html | 168 ++ .../templates/admin/dict_type/edit.html | 142 ++ .../templates/admin/dict_type/list.html | 260 ++++ 18 files changed, 5379 insertions(+) create mode 100644 src/main/java/com/fc/test/controller/admin/DictDataController.java create mode 100644 src/main/java/com/fc/test/controller/admin/DictTypeController.java create mode 100644 src/main/java/com/fc/test/mapper/auto/TSysDictDataMapper.java create mode 100644 src/main/java/com/fc/test/mapper/auto/TSysDictTypeMapper.java create mode 100644 src/main/java/com/fc/test/model/auto/TSysDictData.java create mode 100644 src/main/java/com/fc/test/model/auto/TSysDictDataExample.java create mode 100644 src/main/java/com/fc/test/model/auto/TSysDictType.java create mode 100644 src/main/java/com/fc/test/model/auto/TSysDictTypeExample.java create mode 100644 src/main/java/com/fc/test/service/SysDictDataService.java create mode 100644 src/main/java/com/fc/test/service/SysDictTypeService.java create mode 100644 src/main/resources/mybatis/auto/TSysDictDataMapper.xml create mode 100644 src/main/resources/mybatis/auto/TSysDictTypeMapper.xml create mode 100644 src/main/resources/templates/admin/dict_data/add.html create mode 100644 src/main/resources/templates/admin/dict_data/edit.html create mode 100644 src/main/resources/templates/admin/dict_data/list.html create mode 100644 src/main/resources/templates/admin/dict_type/add.html create mode 100644 src/main/resources/templates/admin/dict_type/edit.html create mode 100644 src/main/resources/templates/admin/dict_type/list.html diff --git a/src/main/java/com/fc/test/controller/admin/DictDataController.java b/src/main/java/com/fc/test/controller/admin/DictDataController.java new file mode 100644 index 0000000..93f3c44 --- /dev/null +++ b/src/main/java/com/fc/test/controller/admin/DictDataController.java @@ -0,0 +1,142 @@ +package com.fc.test.controller.admin; + + +import com.fc.test.model.auto.TSysDictData; +import com.fc.test.service.SysDictDataService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.github.pagehelper.PageInfo; +import com.fc.test.common.base.BaseController; +import com.fc.test.common.domain.AjaxResult; +import com.fc.test.model.custom.TableSplitResult; +import com.fc.test.model.custom.Tablepar; +import com.fc.test.model.custom.TitleVo; +import io.swagger.annotations.Api; + +@Controller +@RequestMapping("DictDataController") +@Api(value = "字典数据表") +public class DictDataController extends BaseController{ + + private String prefix = "admin/dict_data"; + @Autowired + private SysDictDataService tSysDictDataService; + + @GetMapping("view") + @RequiresPermissions("system:dictData:view") + public String view(ModelMap model,String dictId) + { + model.addAttribute("dictId",dictId); + String str="字典数据表"; + setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false)); + return prefix + "/list"; + } + + //@Log(title = "字典数据表集合查询", action = "111") + @PostMapping("list") + @RequiresPermissions("system:dictData:list") + @ResponseBody + public Object list(Tablepar tablepar,String searchTxt,String dictId){ + PageInfo page=tSysDictDataService.list(tablepar,searchTxt,dictId) ; + TableSplitResult result=new TableSplitResult(page.getPageNum(), page.getTotal(), page.getList()); + return result; + } + + /** + * 新增 + */ + + @GetMapping("/add") + public String add(ModelMap modelMap,String dictId) + { + modelMap.addAttribute("dictId",dictId); + return prefix + "/add"; + } + + //@Log(title = "字典数据表新增", action = "111") + @PostMapping("add") + @RequiresPermissions("system:dictData:add") + @ResponseBody + public AjaxResult add(TSysDictData tSysDictData, Model model){ + int b=tSysDictDataService.insertSelective(tSysDictData); + if(b>0){ + return success(); + }else{ + return error(); + } + } + + /** + * 删除用户 + * @param ids + * @return + */ + //@Log(title = "字典数据表删除", action = "111") + @PostMapping("remove") + @RequiresPermissions("system:dictData:remove") + @ResponseBody + public AjaxResult remove(String ids){ + int b=tSysDictDataService.deleteByPrimaryKey(ids); + if(b>0){ + return success(); + }else{ + return error(); + } + } + + /** + * 检查用户 + * @param tsysUser + * @return + */ + @PostMapping("checkNameUnique") + @ResponseBody + public int checkNameUnique(TSysDictData tSysDictData){ + int b=tSysDictDataService.checkNameUnique(tSysDictData); + if(b>0){ + return 1; + }else{ + return 0; + } + } + + + /** + * 修改跳转 + * @param id + * @param mmap + * @return + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") String id, ModelMap mmap) + { + mmap.put("TSysDictData", tSysDictDataService.selectByPrimaryKey(id)); + + return prefix + "/edit"; + } + + /** + * 修改保存 + */ + //@Log(title = "字典数据表修改", action = "111") + @RequiresPermissions("system:dictData:edit") + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(TSysDictData record) + { + return toAjax(tSysDictDataService.updateByPrimaryKeySelective(record)); + } + + + + + +} diff --git a/src/main/java/com/fc/test/controller/admin/DictTypeController.java b/src/main/java/com/fc/test/controller/admin/DictTypeController.java new file mode 100644 index 0000000..49b0351 --- /dev/null +++ b/src/main/java/com/fc/test/controller/admin/DictTypeController.java @@ -0,0 +1,154 @@ +package com.fc.test.controller.admin; + +import com.fc.test.model.auto.TSysDictDataExample; +import com.fc.test.service.SysDictDataService; +import com.sun.corba.se.impl.oa.toa.TOA; +import org.apache.commons.beanutils.ConvertUtils; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.github.pagehelper.PageInfo; +import com.fc.test.common.base.BaseController; +import com.fc.test.common.domain.AjaxResult; +import com.fc.test.model.auto.TSysDictType; +import com.fc.test.model.custom.TableSplitResult; +import com.fc.test.model.custom.Tablepar; +import com.fc.test.model.custom.TitleVo; +import com.fc.test.service.SysDictTypeService; +import io.swagger.annotations.Api; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +@Controller +@RequestMapping("DictTypeController") +@Api(value = "字典类型表") +public class DictTypeController extends BaseController{ + + private String prefix = "admin/dict_type"; + @Autowired + private SysDictTypeService tSysDictTypeService; + @Autowired + private SysDictDataService sysDictDataService; + + @GetMapping("view") + @RequiresPermissions("system:dictType:view") + public String view(ModelMap model) + { + String str="字典类型表"; + setTitle(model, new TitleVo("列表", str+"管理", true,"欢迎进入"+str+"页面", true, false)); + return prefix + "/list"; + } + + //@Log(title = "字典类型表集合查询", action = "111") + @PostMapping("list") + @RequiresPermissions("system:dictType:list") + @ResponseBody + public Object list(Tablepar tablepar,String searchTxt){ + PageInfo page=tSysDictTypeService.list(tablepar,searchTxt) ; + TableSplitResult result=new TableSplitResult(page.getPageNum(), page.getTotal(), page.getList()); + return result; + } + + /** + * 新增 + */ + + @GetMapping("/add") + public String add(ModelMap modelMap) + { + return prefix + "/add"; + } + + //@Log(title = "字典类型表新增", action = "111") + @PostMapping("add") + @RequiresPermissions("system:dictType:add") + @ResponseBody + public AjaxResult add(TSysDictType tSysDictType,Model model){ + int b=tSysDictTypeService.insertSelective(tSysDictType); + if(b>0){ + return success(); + }else{ + return error(); + } + } + + /** + * 删除用户 + * @param ids + * @return + */ + //@Log(title = "字典类型表删除", action = "111") + @PostMapping("remove") + @RequiresPermissions("system:dictType:remove") + @ResponseBody + public AjaxResult remove(String ids){ + List idsList = Arrays.asList(ids.split(",")); + List dictIds = tSysDictTypeService.selectByIds(idsList); + if (dictIds != null && dictIds.size() >0){ + sysDictDataService.deleteByPrimaryDictIds(dictIds); + } + int b=tSysDictTypeService.deleteByPrimaryKey(ids); + if(b>0){ + return success(); + }else{ + return error(); + } + } + + /** + * 检查用户 + * @param tsysUser + * @return + */ + @PostMapping("checkNameUnique") + @ResponseBody + public int checkNameUnique(TSysDictType tSysDictType){ + int b=tSysDictTypeService.checkNameUnique(tSysDictType); + if(b>0){ + return 1; + }else{ + return 0; + } + } + + + /** + * 修改跳转 + * @param id + * @param mmap + * @return + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") String id, ModelMap mmap) + { + mmap.put("TSysDictType", tSysDictTypeService.selectByPrimaryKey(id)); + + return prefix + "/edit"; + } + + /** + * 修改保存 + */ + //@Log(title = "字典类型表修改", action = "111") + @RequiresPermissions("system:dictType:edit") + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(TSysDictType record) + { + return toAjax(tSysDictTypeService.updateByPrimaryKeySelective(record)); + } + + + + + +} diff --git a/src/main/java/com/fc/test/mapper/auto/TSysDictDataMapper.java b/src/main/java/com/fc/test/mapper/auto/TSysDictDataMapper.java new file mode 100644 index 0000000..6e954a8 --- /dev/null +++ b/src/main/java/com/fc/test/mapper/auto/TSysDictDataMapper.java @@ -0,0 +1,33 @@ +package com.fc.test.mapper.auto; + +import com.fc.test.model.auto.TSysDictData; +import com.fc.test.model.auto.TSysDictDataExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +/** + * 字典数据表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-08 00:10:43 + */ +public interface TSysDictDataMapper { + long countByExample(TSysDictDataExample example); + + int deleteByExample(TSysDictDataExample example); + + int insert(TSysDictData record); + + int insertSelective(TSysDictData record); + + List selectByExample(TSysDictDataExample example); + + int updateByExampleSelective(@Param("record") TSysDictData record, @Param("example") TSysDictDataExample example); + + int updateByExample(@Param("record") TSysDictData record, @Param("example") TSysDictDataExample example); + + TSysDictData selectByPrimaryKey(String id); + + int updateByPrimaryKeySelective(TSysDictData record); +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/mapper/auto/TSysDictTypeMapper.java b/src/main/java/com/fc/test/mapper/auto/TSysDictTypeMapper.java new file mode 100644 index 0000000..3345989 --- /dev/null +++ b/src/main/java/com/fc/test/mapper/auto/TSysDictTypeMapper.java @@ -0,0 +1,39 @@ +package com.fc.test.mapper.auto; + +import com.fc.test.model.auto.TSysDictType; +import com.fc.test.model.auto.TSysDictTypeExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +/** + * 字典类型表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-05 12:34:25 + */ +public interface TSysDictTypeMapper { + long countByExample(TSysDictTypeExample example); + + int deleteByExample(TSysDictTypeExample example); + + int deleteByPrimaryKey(String id); + + int insert(TSysDictType record); + + int insertSelective(TSysDictType record); + + List selectByExample(TSysDictTypeExample example); + + TSysDictType selectByPrimaryKey(String id); + + int updateByExampleSelective(@Param("record") TSysDictType record, @Param("example") TSysDictTypeExample example); + + int updateByExample(@Param("record") TSysDictType record, @Param("example") TSysDictTypeExample example); + + int updateByPrimaryKeySelective(TSysDictType record); + + int updateByPrimaryKey(TSysDictType record); + + List selectByPrimaryDictId(@Param("idsList") List idsList); +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/model/auto/TSysDictData.java b/src/main/java/com/fc/test/model/auto/TSysDictData.java new file mode 100644 index 0000000..daf4a7f --- /dev/null +++ b/src/main/java/com/fc/test/model/auto/TSysDictData.java @@ -0,0 +1,246 @@ +package com.fc.test.model.auto; + +import java.io.Serializable; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +/** + * 字典数据表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-08 00:10:43 + */ +public class TSysDictData implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 雪花键 + */ + private String id; + + /** + * 字典主键 + */ + private Long dictId; + + /** + * 字典编码 + */ + private String dictCode; + + /** + * 字典排序 + */ + private Integer dictSort; + + /** + * 字典标签 + */ + private String dictLabel; + + /** + * 字典键值 + */ + private String dictValue; + + /** + * 字典类型 + */ + private String dictType; + + /** + * 样式属性(其他样式扩展) + */ + private String cssClass; + + /** + * 表格回显样式 + */ + private String listClass; + + /** + * 是否默认(Y是 N否) + */ + private String isDefault; + + /** + * 状态(0正常 1停用) + */ + private String dataStatus; + + /** + * 创建者 + */ + private String createBy; + + /** + * 创建时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date createTime; + + /** + * 更新者 + */ + private String updateBy; + + /** + * 更新时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + + + public String getId() { + return id; + } + + public void setId(String id){ + this.id = id == null ? null : id.trim(); + } + + + public Long getDictId () { + return dictId; + } + + public void setDictId (Long dictId) { + this.dictId = dictId; + } + + + public String getDictCode() { + return dictCode; + } + + public void setDictCode(String dictCode){ + this.dictCode = dictCode == null ? null : dictCode.trim(); + } + + + public Integer getDictSort () { + return dictSort; + } + + public void setDictSort (Integer dictSort) { + this.dictSort = dictSort; + } + + + public String getDictLabel() { + return dictLabel; + } + + public void setDictLabel(String dictLabel){ + this.dictLabel = dictLabel == null ? null : dictLabel.trim(); + } + + + public String getDictValue() { + return dictValue; + } + + public void setDictValue(String dictValue){ + this.dictValue = dictValue == null ? null : dictValue.trim(); + } + + + public String getDictType() { + return dictType; + } + + public void setDictType(String dictType){ + this.dictType = dictType == null ? null : dictType.trim(); + } + + + public String getCssClass() { + return cssClass; + } + + public void setCssClass(String cssClass){ + this.cssClass = cssClass == null ? null : cssClass.trim(); + } + + + public String getListClass() { + return listClass; + } + + public void setListClass(String listClass){ + this.listClass = listClass == null ? null : listClass.trim(); + } + + + public String getIsDefault() { + return isDefault; + } + + public void setIsDefault(String isDefault){ + this.isDefault = isDefault == null ? null : isDefault.trim(); + } + + + public String getDataStatus() { + return dataStatus; + } + + public void setDataStatus(String dataStatus){ + this.dataStatus = dataStatus == null ? null : dataStatus.trim(); + } + + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy){ + this.createBy = createBy == null ? null : createBy.trim(); + } + + + public Date getCreateTime () { + return createTime; + } + + public void setCreateTime (Date createTime) { + this.createTime = createTime; + } + + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy){ + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + + public Date getUpdateTime () { + return updateTime; + } + + public void setUpdateTime (Date updateTime) { + this.updateTime = updateTime; + } + + + public String getRemark() { + return remark; + } + + public void setRemark(String remark){ + this.remark = remark == null ? null : remark.trim(); + } + + +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/model/auto/TSysDictDataExample.java b/src/main/java/com/fc/test/model/auto/TSysDictDataExample.java new file mode 100644 index 0000000..bd2c984 --- /dev/null +++ b/src/main/java/com/fc/test/model/auto/TSysDictDataExample.java @@ -0,0 +1,1347 @@ +package com.fc.test.model.auto; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * 字典数据表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-08 00:10:43 + */ +public class TSysDictDataExample { + + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public TSysDictDataExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(String value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(String value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(String value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(String value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(String value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(String value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLike(String value) { + addCriterion("id like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotLike(String value) { + addCriterion("id not like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(String value1, String value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(String value1, String value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + + public Criteria andDictIdIsNull() { + addCriterion("dict_id is null"); + return (Criteria) this; + } + + public Criteria andDictIdIsNotNull() { + addCriterion("dict_id is not null"); + return (Criteria) this; + } + + public Criteria andDictIdEqualTo(Long value) { + addCriterion("dict_id =", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotEqualTo(Long value) { + addCriterion("dict_id <>", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdGreaterThan(Long value) { + addCriterion("dict_id >", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdGreaterThanOrEqualTo(Long value) { + addCriterion("dict_id >=", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLessThan(Long value) { + addCriterion("dict_id <", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLessThanOrEqualTo(Long value) { + addCriterion("dict_id <=", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLike(Long value) { + addCriterion("dict_id like", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotLike(Long value) { + addCriterion("dict_id not like", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdIn(List values) { + addCriterion("dict_id in", values, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotIn(List values) { + addCriterion("dict_id not in", values, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdBetween(Long value1, Long value2) { + addCriterion("dict_id between", value1, value2, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotBetween(Long value1, Long value2) { + addCriterion("dict_id not between", value1, value2, "dictId"); + return (Criteria) this; + } + + + public Criteria andDictCodeIsNull() { + addCriterion("dict_code is null"); + return (Criteria) this; + } + + public Criteria andDictCodeIsNotNull() { + addCriterion("dict_code is not null"); + return (Criteria) this; + } + + public Criteria andDictCodeEqualTo(String value) { + addCriterion("dict_code =", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeNotEqualTo(String value) { + addCriterion("dict_code <>", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeGreaterThan(String value) { + addCriterion("dict_code >", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeGreaterThanOrEqualTo(String value) { + addCriterion("dict_code >=", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeLessThan(String value) { + addCriterion("dict_code <", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeLessThanOrEqualTo(String value) { + addCriterion("dict_code <=", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeLike(String value) { + addCriterion("dict_code like", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeNotLike(String value) { + addCriterion("dict_code not like", value, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeIn(List values) { + addCriterion("dict_code in", values, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeNotIn(List values) { + addCriterion("dict_code not in", values, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeBetween(String value1, String value2) { + addCriterion("dict_code between", value1, value2, "dictCode"); + return (Criteria) this; + } + + public Criteria andDictCodeNotBetween(String value1, String value2) { + addCriterion("dict_code not between", value1, value2, "dictCode"); + return (Criteria) this; + } + + + public Criteria andDictSortIsNull() { + addCriterion("dict_sort is null"); + return (Criteria) this; + } + + public Criteria andDictSortIsNotNull() { + addCriterion("dict_sort is not null"); + return (Criteria) this; + } + + public Criteria andDictSortEqualTo(Integer value) { + addCriterion("dict_sort =", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortNotEqualTo(Integer value) { + addCriterion("dict_sort <>", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortGreaterThan(Integer value) { + addCriterion("dict_sort >", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortGreaterThanOrEqualTo(Integer value) { + addCriterion("dict_sort >=", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortLessThan(Integer value) { + addCriterion("dict_sort <", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortLessThanOrEqualTo(Integer value) { + addCriterion("dict_sort <=", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortLike(Integer value) { + addCriterion("dict_sort like", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortNotLike(Integer value) { + addCriterion("dict_sort not like", value, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortIn(List values) { + addCriterion("dict_sort in", values, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortNotIn(List values) { + addCriterion("dict_sort not in", values, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortBetween(Integer value1, Integer value2) { + addCriterion("dict_sort between", value1, value2, "dictSort"); + return (Criteria) this; + } + + public Criteria andDictSortNotBetween(Integer value1, Integer value2) { + addCriterion("dict_sort not between", value1, value2, "dictSort"); + return (Criteria) this; + } + + + public Criteria andDictLabelIsNull() { + addCriterion("dict_label is null"); + return (Criteria) this; + } + + public Criteria andDictLabelIsNotNull() { + addCriterion("dict_label is not null"); + return (Criteria) this; + } + + public Criteria andDictLabelEqualTo(String value) { + addCriterion("dict_label =", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelNotEqualTo(String value) { + addCriterion("dict_label <>", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelGreaterThan(String value) { + addCriterion("dict_label >", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelGreaterThanOrEqualTo(String value) { + addCriterion("dict_label >=", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelLessThan(String value) { + addCriterion("dict_label <", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelLessThanOrEqualTo(String value) { + addCriterion("dict_label <=", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelLike(String value) { + addCriterion("dict_label like", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelNotLike(String value) { + addCriterion("dict_label not like", value, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelIn(List values) { + addCriterion("dict_label in", values, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelNotIn(List values) { + addCriterion("dict_label not in", values, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelBetween(String value1, String value2) { + addCriterion("dict_label between", value1, value2, "dictLabel"); + return (Criteria) this; + } + + public Criteria andDictLabelNotBetween(String value1, String value2) { + addCriterion("dict_label not between", value1, value2, "dictLabel"); + return (Criteria) this; + } + + + public Criteria andDictValueIsNull() { + addCriterion("dict_value is null"); + return (Criteria) this; + } + + public Criteria andDictValueIsNotNull() { + addCriterion("dict_value is not null"); + return (Criteria) this; + } + + public Criteria andDictValueEqualTo(String value) { + addCriterion("dict_value =", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueNotEqualTo(String value) { + addCriterion("dict_value <>", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueGreaterThan(String value) { + addCriterion("dict_value >", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueGreaterThanOrEqualTo(String value) { + addCriterion("dict_value >=", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueLessThan(String value) { + addCriterion("dict_value <", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueLessThanOrEqualTo(String value) { + addCriterion("dict_value <=", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueLike(String value) { + addCriterion("dict_value like", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueNotLike(String value) { + addCriterion("dict_value not like", value, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueIn(List values) { + addCriterion("dict_value in", values, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueNotIn(List values) { + addCriterion("dict_value not in", values, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueBetween(String value1, String value2) { + addCriterion("dict_value between", value1, value2, "dictValue"); + return (Criteria) this; + } + + public Criteria andDictValueNotBetween(String value1, String value2) { + addCriterion("dict_value not between", value1, value2, "dictValue"); + return (Criteria) this; + } + + + public Criteria andDictTypeIsNull() { + addCriterion("dict_type is null"); + return (Criteria) this; + } + + public Criteria andDictTypeIsNotNull() { + addCriterion("dict_type is not null"); + return (Criteria) this; + } + + public Criteria andDictTypeEqualTo(String value) { + addCriterion("dict_type =", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotEqualTo(String value) { + addCriterion("dict_type <>", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeGreaterThan(String value) { + addCriterion("dict_type >", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeGreaterThanOrEqualTo(String value) { + addCriterion("dict_type >=", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLessThan(String value) { + addCriterion("dict_type <", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLessThanOrEqualTo(String value) { + addCriterion("dict_type <=", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLike(String value) { + addCriterion("dict_type like", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotLike(String value) { + addCriterion("dict_type not like", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeIn(List values) { + addCriterion("dict_type in", values, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotIn(List values) { + addCriterion("dict_type not in", values, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeBetween(String value1, String value2) { + addCriterion("dict_type between", value1, value2, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotBetween(String value1, String value2) { + addCriterion("dict_type not between", value1, value2, "dictType"); + return (Criteria) this; + } + + + public Criteria andCssClassIsNull() { + addCriterion("css_class is null"); + return (Criteria) this; + } + + public Criteria andCssClassIsNotNull() { + addCriterion("css_class is not null"); + return (Criteria) this; + } + + public Criteria andCssClassEqualTo(String value) { + addCriterion("css_class =", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassNotEqualTo(String value) { + addCriterion("css_class <>", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassGreaterThan(String value) { + addCriterion("css_class >", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassGreaterThanOrEqualTo(String value) { + addCriterion("css_class >=", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassLessThan(String value) { + addCriterion("css_class <", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassLessThanOrEqualTo(String value) { + addCriterion("css_class <=", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassLike(String value) { + addCriterion("css_class like", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassNotLike(String value) { + addCriterion("css_class not like", value, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassIn(List values) { + addCriterion("css_class in", values, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassNotIn(List values) { + addCriterion("css_class not in", values, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassBetween(String value1, String value2) { + addCriterion("css_class between", value1, value2, "cssClass"); + return (Criteria) this; + } + + public Criteria andCssClassNotBetween(String value1, String value2) { + addCriterion("css_class not between", value1, value2, "cssClass"); + return (Criteria) this; + } + + + public Criteria andListClassIsNull() { + addCriterion("list_class is null"); + return (Criteria) this; + } + + public Criteria andListClassIsNotNull() { + addCriterion("list_class is not null"); + return (Criteria) this; + } + + public Criteria andListClassEqualTo(String value) { + addCriterion("list_class =", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassNotEqualTo(String value) { + addCriterion("list_class <>", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassGreaterThan(String value) { + addCriterion("list_class >", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassGreaterThanOrEqualTo(String value) { + addCriterion("list_class >=", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassLessThan(String value) { + addCriterion("list_class <", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassLessThanOrEqualTo(String value) { + addCriterion("list_class <=", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassLike(String value) { + addCriterion("list_class like", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassNotLike(String value) { + addCriterion("list_class not like", value, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassIn(List values) { + addCriterion("list_class in", values, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassNotIn(List values) { + addCriterion("list_class not in", values, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassBetween(String value1, String value2) { + addCriterion("list_class between", value1, value2, "listClass"); + return (Criteria) this; + } + + public Criteria andListClassNotBetween(String value1, String value2) { + addCriterion("list_class not between", value1, value2, "listClass"); + return (Criteria) this; + } + + + public Criteria andIsDefaultIsNull() { + addCriterion("is_default is null"); + return (Criteria) this; + } + + public Criteria andIsDefaultIsNotNull() { + addCriterion("is_default is not null"); + return (Criteria) this; + } + + public Criteria andIsDefaultEqualTo(String value) { + addCriterion("is_default =", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultNotEqualTo(String value) { + addCriterion("is_default <>", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultGreaterThan(String value) { + addCriterion("is_default >", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultGreaterThanOrEqualTo(String value) { + addCriterion("is_default >=", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultLessThan(String value) { + addCriterion("is_default <", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultLessThanOrEqualTo(String value) { + addCriterion("is_default <=", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultLike(String value) { + addCriterion("is_default like", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultNotLike(String value) { + addCriterion("is_default not like", value, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultIn(List values) { + addCriterion("is_default in", values, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultNotIn(List values) { + addCriterion("is_default not in", values, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultBetween(String value1, String value2) { + addCriterion("is_default between", value1, value2, "isDefault"); + return (Criteria) this; + } + + public Criteria andIsDefaultNotBetween(String value1, String value2) { + addCriterion("is_default not between", value1, value2, "isDefault"); + return (Criteria) this; + } + + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(String value) { + addCriterion("status =", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("status <>", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("status >", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("status >=", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("status <", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("status <=", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("status like", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("status not like", value, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusBetween(String value1, String value2) { + addCriterion("status between", value1, value2, "dataStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("status not between", value1, value2, "dataStatus"); + return (Criteria) this; + } + + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLike(Date value) { + addCriterion("create_time like", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotLike(Date value) { + addCriterion("create_time not like", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLike(Date value) { + addCriterion("update_time like", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotLike(Date value) { + addCriterion("update_time not like", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + + + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/model/auto/TSysDictType.java b/src/main/java/com/fc/test/model/auto/TSysDictType.java new file mode 100644 index 0000000..2629331 --- /dev/null +++ b/src/main/java/com/fc/test/model/auto/TSysDictType.java @@ -0,0 +1,161 @@ +package com.fc.test.model.auto; + +import java.io.Serializable; +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +/** + * 字典类型表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-05 12:34:25 + */ +public class TSysDictType implements Serializable { + + private static final long serialVersionUID = 1L; + + + /** + * 雪花键 + */ + private String id; + + /** + * 字典主键 + */ + private Long dictId; + + /** + * 字典名称 + */ + private String dictName; + + /** + * 字典类型 + */ + private String dictType; + + /** + * 状态(0正常 1停用) + */ + private String typeStatus; + + /** + * 创建者 + */ + private String createBy; + + /** + * 创建时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date createTime; + + /** + * 更新者 + */ + private String updateBy; + + /** + * 更新时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8") + private Date updateTime; + + /** + * 备注 + */ + private String remark; + + + public String getId() { + return id; + } + + public void setId(String id){ + this.id = id == null ? null : id.trim(); + } + + + public Long getDictId () { + return dictId; + } + + public void setDictId (Long dictId) { + this.dictId = dictId; + } + + + public String getDictName() { + return dictName; + } + + public void setDictName(String dictName){ + this.dictName = dictName == null ? null : dictName.trim(); + } + + + public String getDictType() { + return dictType; + } + + public void setDictType(String dictType){ + this.dictType = dictType == null ? null : dictType.trim(); + } + + + public String getTypeStatus() { + return typeStatus; + } + + public void setTypeStatus(String typeStatus){ + this.typeStatus = typeStatus == null ? null : typeStatus.trim(); + } + + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy){ + this.createBy = createBy == null ? null : createBy.trim(); + } + + + public Date getCreateTime () { + return createTime; + } + + public void setCreateTime (Date createTime) { + this.createTime = createTime; + } + + + public String getUpdateBy() { + return updateBy; + } + + public void setUpdateBy(String updateBy){ + this.updateBy = updateBy == null ? null : updateBy.trim(); + } + + + public Date getUpdateTime () { + return updateTime; + } + + public void setUpdateTime (Date updateTime) { + this.updateTime = updateTime; + } + + + public String getRemark() { + return remark; + } + + public void setRemark(String remark){ + this.remark = remark == null ? null : remark.trim(); + } + + +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/model/auto/TSysDictTypeExample.java b/src/main/java/com/fc/test/model/auto/TSysDictTypeExample.java new file mode 100644 index 0000000..e3f8c22 --- /dev/null +++ b/src/main/java/com/fc/test/model/auto/TSysDictTypeExample.java @@ -0,0 +1,921 @@ +package com.fc.test.model.auto; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +/** + * 字典类型表 + * + * @author 一休 + * @email 438081243@qq.com + * @date 2019-09-05 12:34:25 + */ +public class TSysDictTypeExample { + + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public TSysDictTypeExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(String value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(String value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(String value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(String value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(String value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(String value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLike(String value) { + addCriterion("id like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotLike(String value) { + addCriterion("id not like", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(String value1, String value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(String value1, String value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + + public Criteria andDictIdIsNull() { + addCriterion("dict_id is null"); + return (Criteria) this; + } + + public Criteria andDictIdIsNotNull() { + addCriterion("dict_id is not null"); + return (Criteria) this; + } + + public Criteria andDictIdEqualTo(Long value) { + addCriterion("dict_id =", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotEqualTo(Long value) { + addCriterion("dict_id <>", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdGreaterThan(Long value) { + addCriterion("dict_id >", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdGreaterThanOrEqualTo(Long value) { + addCriterion("dict_id >=", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLessThan(Long value) { + addCriterion("dict_id <", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLessThanOrEqualTo(Long value) { + addCriterion("dict_id <=", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdLike(Long value) { + addCriterion("dict_id like", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotLike(Long value) { + addCriterion("dict_id not like", value, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdIn(List values) { + addCriterion("dict_id in", values, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotIn(List values) { + addCriterion("dict_id not in", values, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdBetween(Long value1, Long value2) { + addCriterion("dict_id between", value1, value2, "dictId"); + return (Criteria) this; + } + + public Criteria andDictIdNotBetween(Long value1, Long value2) { + addCriterion("dict_id not between", value1, value2, "dictId"); + return (Criteria) this; + } + + + public Criteria andDictNameIsNull() { + addCriterion("dict_name is null"); + return (Criteria) this; + } + + public Criteria andDictNameIsNotNull() { + addCriterion("dict_name is not null"); + return (Criteria) this; + } + + public Criteria andDictNameEqualTo(String value) { + addCriterion("dict_name =", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameNotEqualTo(String value) { + addCriterion("dict_name <>", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameGreaterThan(String value) { + addCriterion("dict_name >", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameGreaterThanOrEqualTo(String value) { + addCriterion("dict_name >=", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameLessThan(String value) { + addCriterion("dict_name <", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameLessThanOrEqualTo(String value) { + addCriterion("dict_name <=", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameLike(String value) { + addCriterion("dict_name like", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameNotLike(String value) { + addCriterion("dict_name not like", value, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameIn(List values) { + addCriterion("dict_name in", values, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameNotIn(List values) { + addCriterion("dict_name not in", values, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameBetween(String value1, String value2) { + addCriterion("dict_name between", value1, value2, "dictName"); + return (Criteria) this; + } + + public Criteria andDictNameNotBetween(String value1, String value2) { + addCriterion("dict_name not between", value1, value2, "dictName"); + return (Criteria) this; + } + + + public Criteria andDictTypeIsNull() { + addCriterion("dict_type is null"); + return (Criteria) this; + } + + public Criteria andDictTypeIsNotNull() { + addCriterion("dict_type is not null"); + return (Criteria) this; + } + + public Criteria andDictTypeEqualTo(String value) { + addCriterion("dict_type =", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotEqualTo(String value) { + addCriterion("dict_type <>", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeGreaterThan(String value) { + addCriterion("dict_type >", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeGreaterThanOrEqualTo(String value) { + addCriterion("dict_type >=", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLessThan(String value) { + addCriterion("dict_type <", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLessThanOrEqualTo(String value) { + addCriterion("dict_type <=", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeLike(String value) { + addCriterion("dict_type like", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotLike(String value) { + addCriterion("dict_type not like", value, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeIn(List values) { + addCriterion("dict_type in", values, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotIn(List values) { + addCriterion("dict_type not in", values, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeBetween(String value1, String value2) { + addCriterion("dict_type between", value1, value2, "dictType"); + return (Criteria) this; + } + + public Criteria andDictTypeNotBetween(String value1, String value2) { + addCriterion("dict_type not between", value1, value2, "dictType"); + return (Criteria) this; + } + + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(String value) { + addCriterion("status =", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("status <>", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("status >", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("status >=", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("status <", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("status <=", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("status like", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("status not like", value, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusBetween(String value1, String value2) { + addCriterion("status between", value1, value2, "typeStatus"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("status not between", value1, value2, "typeStatus"); + return (Criteria) this; + } + + + public Criteria andCreateByIsNull() { + addCriterion("create_by is null"); + return (Criteria) this; + } + + public Criteria andCreateByIsNotNull() { + addCriterion("create_by is not null"); + return (Criteria) this; + } + + public Criteria andCreateByEqualTo(String value) { + addCriterion("create_by =", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotEqualTo(String value) { + addCriterion("create_by <>", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThan(String value) { + addCriterion("create_by >", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByGreaterThanOrEqualTo(String value) { + addCriterion("create_by >=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThan(String value) { + addCriterion("create_by <", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLessThanOrEqualTo(String value) { + addCriterion("create_by <=", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByLike(String value) { + addCriterion("create_by like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotLike(String value) { + addCriterion("create_by not like", value, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByIn(List values) { + addCriterion("create_by in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotIn(List values) { + addCriterion("create_by not in", values, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByBetween(String value1, String value2) { + addCriterion("create_by between", value1, value2, "createBy"); + return (Criteria) this; + } + + public Criteria andCreateByNotBetween(String value1, String value2) { + addCriterion("create_by not between", value1, value2, "createBy"); + return (Criteria) this; + } + + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLike(Date value) { + addCriterion("create_time like", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotLike(Date value) { + addCriterion("create_time not like", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + + public Criteria andUpdateByIsNull() { + addCriterion("update_by is null"); + return (Criteria) this; + } + + public Criteria andUpdateByIsNotNull() { + addCriterion("update_by is not null"); + return (Criteria) this; + } + + public Criteria andUpdateByEqualTo(String value) { + addCriterion("update_by =", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotEqualTo(String value) { + addCriterion("update_by <>", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThan(String value) { + addCriterion("update_by >", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByGreaterThanOrEqualTo(String value) { + addCriterion("update_by >=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThan(String value) { + addCriterion("update_by <", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLessThanOrEqualTo(String value) { + addCriterion("update_by <=", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByLike(String value) { + addCriterion("update_by like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotLike(String value) { + addCriterion("update_by not like", value, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByIn(List values) { + addCriterion("update_by in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotIn(List values) { + addCriterion("update_by not in", values, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByBetween(String value1, String value2) { + addCriterion("update_by between", value1, value2, "updateBy"); + return (Criteria) this; + } + + public Criteria andUpdateByNotBetween(String value1, String value2) { + addCriterion("update_by not between", value1, value2, "updateBy"); + return (Criteria) this; + } + + + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); + return (Criteria) this; + } + + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeLike(Date value) { + addCriterion("update_time like", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotLike(Date value) { + addCriterion("update_time not like", value, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); + return (Criteria) this; + } + + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + + + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/fc/test/service/SysDictDataService.java b/src/main/java/com/fc/test/service/SysDictDataService.java new file mode 100644 index 0000000..c45e5db --- /dev/null +++ b/src/main/java/com/fc/test/service/SysDictDataService.java @@ -0,0 +1,141 @@ +package com.fc.test.service; + +import java.util.Date; +import java.util.List; + +import com.fc.test.common.support.Convert; +import com.fc.test.mapper.auto.TSysDictDataMapper; +import com.fc.test.model.auto.TSysDictData; +import com.fc.test.model.auto.TSysDictDataExample; +import com.fc.test.shiro.util.ShiroUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; +import com.fc.test.common.base.BaseService; +import com.fc.test.model.custom.Tablepar; +import com.fc.test.util.SnowflakeIdWorker; + +/** + * 字典数据表Service +* @Title: TSysDictDataService.java  +* @Package com.fc.test.service  +* @author 一休 +* @email 438081243@qq.com +* @date 2019-09-08 00:10:43   + */ +@Service +public class SysDictDataService implements BaseService{ + @Autowired + private TSysDictDataMapper tSysDictDataMapper; + + /** + * 分页查询 + * @param pageNum + * @param pageSize + * @return + */ + public PageInfo list(Tablepar tablepar,String name,String dictId){ + TSysDictDataExample testExample=new TSysDictDataExample(); + + if(dictId!=null&&!"".equals(dictId)){ + testExample.createCriteria().andDictIdEqualTo(Long.parseLong(dictId)); + } + testExample.setOrderByClause("dict_sort ASC"); + if(name!=null&&!"".equals(name)){ + testExample.createCriteria().andDictValueLike("%"+name+"%"); + } + + PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize()); + List list= tSysDictDataMapper.selectByExample(testExample); + PageInfo pageInfo = new PageInfo(list); + return pageInfo; + } + + + @Override + public int deleteByPrimaryKey(String ids) { + List lista= Convert.toListStrArray(ids); + TSysDictDataExample example=new TSysDictDataExample(); + example.createCriteria().andIdIn(lista); + return tSysDictDataMapper.deleteByExample(example); + } + + /** + * 添加 + */ + @Override + public int insertSelective(TSysDictData record) { + //添加雪花主键id + record.setId(SnowflakeIdWorker.getUUID()); + record.setCreateTime(new Date()); + record.setUpdateTime(new Date()); + record.setCreateBy(ShiroUtils.getUser().getNickname()); + return tSysDictDataMapper.insertSelective(record); + } + + @Override + public TSysDictData selectByPrimaryKey(String id) { + return tSysDictDataMapper.selectByPrimaryKey(id); + } + + @Override + public int updateByPrimaryKeySelective(TSysDictData record) { + record.setUpdateTime(new Date()); + record.setUpdateBy(ShiroUtils.getUser().getNickname()); + return tSysDictDataMapper.updateByPrimaryKeySelective(record); + } + + + @Override + public int updateByExampleSelective(TSysDictData record, TSysDictDataExample example) { + + return tSysDictDataMapper.updateByExampleSelective(record, example); + } + + + @Override + public int updateByExample(TSysDictData record, TSysDictDataExample example) { + + return tSysDictDataMapper.updateByExample(record, example); + } + + @Override + public List selectByExample(TSysDictDataExample example) { + + return tSysDictDataMapper.selectByExample(example); + } + + + @Override + public long countByExample(TSysDictDataExample example) { + + return tSysDictDataMapper.countByExample(example); + } + + + @Override + public int deleteByExample(TSysDictDataExample example) { + + return tSysDictDataMapper.deleteByExample(example); + } + + /** + * 检查name + * @param TSysDictData + * @return + */ + public int checkNameUnique(TSysDictData tSysDictData){ + TSysDictDataExample example=new TSysDictDataExample(); + example.createCriteria().andDictValueEqualTo(tSysDictData.getDictValue()); + List list=tSysDictDataMapper.selectByExample(example); + return list.size(); + } + + + public void deleteByPrimaryDictIds(List dictIds) { + TSysDictDataExample example=new TSysDictDataExample(); + example.createCriteria().andDictIdIn(dictIds); + tSysDictDataMapper.deleteByExample(example); + } +} diff --git a/src/main/java/com/fc/test/service/SysDictTypeService.java b/src/main/java/com/fc/test/service/SysDictTypeService.java new file mode 100644 index 0000000..960347c --- /dev/null +++ b/src/main/java/com/fc/test/service/SysDictTypeService.java @@ -0,0 +1,150 @@ +package com.fc.test.service; + +import java.util.Date; +import java.util.List; + +import com.fc.test.shiro.util.ShiroUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; +import com.fc.test.common.base.BaseService; +import com.fc.test.common.support.Convert; +import com.fc.test.mapper.auto.TSysDictTypeMapper; +import com.fc.test.model.auto.TSysDictType; +import com.fc.test.model.auto.TSysDictTypeExample; +import com.fc.test.model.custom.Tablepar; +import com.fc.test.util.SnowflakeIdWorker; + +/** + * 字典类型表Service +* @Title: TSysDictTypeService.java  +* @Package com.fc.test.service  +* @author 一休 +* @email 438081243@qq.com +* @date 2019-09-05 12:34:25   + */ +@Service +public class SysDictTypeService implements BaseService{ + @Autowired + private TSysDictTypeMapper tSysDictTypeMapper; + + /** + * 分页查询 + * @param pageNum + * @param pageSize + * @return + */ + public PageInfo list(Tablepar tablepar,String name){ + TSysDictTypeExample testExample=new TSysDictTypeExample(); + testExample.setOrderByClause("id ASC"); + if(name!=null&&!"".equals(name)){ + testExample.createCriteria().andDictNameLike("%"+name+"%"); + } + + PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize()); + List list= tSysDictTypeMapper.selectByExample(testExample); + PageInfo pageInfo = new PageInfo(list); + return pageInfo; + } + + @Override + public int deleteByPrimaryKey(String ids) { + List lista=Convert.toListStrArray(ids); + TSysDictTypeExample example=new TSysDictTypeExample(); + example.createCriteria().andIdIn(lista); + return tSysDictTypeMapper.deleteByExample(example); + } + + + @Override + public TSysDictType selectByPrimaryKey(String id) { + + return tSysDictTypeMapper.selectByPrimaryKey(id); + } + + + @Override + public int updateByPrimaryKeySelective(TSysDictType record) { + record.setUpdateTime(new Date()); + record.setUpdateBy(ShiroUtils.getUser().getNickname()); + return tSysDictTypeMapper.updateByPrimaryKeySelective(record); + } + + /** + * 添加 + */ + @Override + public int insertSelective(TSysDictType record) { + //添加雪花主键id + record.setId(SnowflakeIdWorker.getUUID()); + record.setCreateTime(new Date()); + record.setUpdateTime(new Date()); + record.setCreateBy(ShiroUtils.getUser().getNickname()); + + return tSysDictTypeMapper.insertSelective(record); + } + + + + + + + + + + + @Override + public int updateByExampleSelective(TSysDictType record, TSysDictTypeExample example) { + + return tSysDictTypeMapper.updateByExampleSelective(record, example); + } + + + @Override + public int updateByExample(TSysDictType record, TSysDictTypeExample example) { + + return tSysDictTypeMapper.updateByExample(record, example); + } + + @Override + public List selectByExample(TSysDictTypeExample example) { + + return tSysDictTypeMapper.selectByExample(example); + } + + + @Override + public long countByExample(TSysDictTypeExample example) { + + return tSysDictTypeMapper.countByExample(example); + } + + + @Override + public int deleteByExample(TSysDictTypeExample example) { + + return tSysDictTypeMapper.deleteByExample(example); + } + + /** + * 检查name + * @param TSysDictType + * @return + */ + public int checkNameUnique(TSysDictType tSysDictType){ + TSysDictTypeExample example=new TSysDictTypeExample(); + example.createCriteria().andDictNameEqualTo(tSysDictType.getDictName()); + List list=tSysDictTypeMapper.selectByExample(example); + return list.size(); + } + + /** + * 查询dict_id 集合 + * @param idsArray + * @return + */ + public List selectByIds(List idsList) { + return tSysDictTypeMapper.selectByPrimaryDictId(idsList); + } +} diff --git a/src/main/resources/mybatis/auto/TSysDictDataMapper.xml b/src/main/resources/mybatis/auto/TSysDictDataMapper.xml new file mode 100644 index 0000000..501b5d9 --- /dev/null +++ b/src/main/resources/mybatis/auto/TSysDictDataMapper.xml @@ -0,0 +1,446 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id,dict_id,dict_code,dict_sort,dict_label,dict_value,dict_type,css_class,list_class,is_default,status,create_by,create_time,update_by,update_time,remark + + + + + delete from t_sys_dict_data + + + + + + + insert into t_sys_dict_data ( + id, + dict_id, + dict_code, + dict_sort, + dict_label, + dict_value, + dict_type, + css_class, + list_class, + is_default, + status, + create_by, + create_time, + update_by, + update_time, + remark + ) + values ( + #{id,jdbcType=VARCHAR}, + #{dictId,jdbcType=BIGINT}, + #{dictCode,jdbcType=VARCHAR}, + #{dictSort,jdbcType=INTEGER}, + #{dictLabel,jdbcType=VARCHAR}, + #{dictValue,jdbcType=VARCHAR}, + #{dictType,jdbcType=VARCHAR}, + #{cssClass,jdbcType=VARCHAR}, + #{listClass,jdbcType=VARCHAR}, + #{isDefault,jdbcType=CHAR}, + #{dataStatus,jdbcType=CHAR}, + #{createBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, + #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR} + ) + + + + insert into t_sys_dict_data + + + + id, + + + + + dict_id, + + + + + dict_code, + + + + + dict_sort, + + + + + dict_label, + + + + + dict_value, + + + + + dict_type, + + + + + css_class, + + + + + list_class, + + + + + is_default, + + + + + status, + + + + + create_by, + + + + + create_time, + + + + + update_by, + + + + + update_time, + + + + + remark, + + + + + + #{id,jdbcType=VARCHAR}, + + + #{dictId,jdbcType=BIGINT}, + + + #{dictCode,jdbcType=VARCHAR}, + + + #{dictSort,jdbcType=INTEGER}, + + + #{dictLabel,jdbcType=VARCHAR}, + + + #{dictValue,jdbcType=VARCHAR}, + + + #{dictType,jdbcType=VARCHAR}, + + + #{cssClass,jdbcType=VARCHAR}, + + + #{listClass,jdbcType=VARCHAR}, + + + #{isDefault,jdbcType=CHAR}, + + + #{dataStatus,jdbcType=CHAR}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + + + update t_sys_dict_data + + + id = #{record.id,jdbcType=VARCHAR}, + + + dict_id = #{record.dictId,jdbcType=BIGINT}, + + + dict_code = #{record.dictCode,jdbcType=VARCHAR}, + + + dict_sort = #{record.dictSort,jdbcType=INTEGER}, + + + dict_label = #{record.dictLabel,jdbcType=VARCHAR}, + + + dict_value = #{record.dictValue,jdbcType=VARCHAR}, + + + dict_type = #{record.dictType,jdbcType=VARCHAR}, + + + css_class = #{record.cssClass,jdbcType=VARCHAR}, + + + list_class = #{record.listClass,jdbcType=VARCHAR}, + + + is_default = #{record.isDefault,jdbcType=CHAR}, + + + status = #{record.dataStatus,jdbcType=CHAR}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + + + update t_sys_dict_data + set + id = #{record.id,jdbcType=VARCHAR}, + + dict_id = #{record.dictId,jdbcType=BIGINT}, + + dict_code = #{record.dictCode,jdbcType=VARCHAR}, + + dict_sort = #{record.dictSort,jdbcType=INTEGER}, + + dict_label = #{record.dictLabel,jdbcType=VARCHAR}, + + dict_value = #{record.dictValue,jdbcType=VARCHAR}, + + dict_type = #{record.dictType,jdbcType=VARCHAR}, + + css_class = #{record.cssClass,jdbcType=VARCHAR}, + + list_class = #{record.listClass,jdbcType=VARCHAR}, + + is_default = #{record.isDefault,jdbcType=CHAR}, + + status = #{record.dataStatus,jdbcType=CHAR}, + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + update t_sys_dict_data + + + id = #{id,jdbcType=VARCHAR}, + + + dict_id = #{dictId,jdbcType=BIGINT}, + + + dict_code = #{dictCode,jdbcType=VARCHAR}, + + + dict_sort = #{dictSort,jdbcType=INTEGER}, + + + dict_label = #{dictLabel,jdbcType=VARCHAR}, + + + dict_value = #{dictValue,jdbcType=VARCHAR}, + + + dict_type = #{dictType,jdbcType=VARCHAR}, + + + css_class = #{cssClass,jdbcType=VARCHAR}, + + + is_default = #{isDefault,jdbcType=CHAR}, + + + list_class = #{listClass,jdbcType=VARCHAR}, + + + status = #{dataStatus,jdbcType=CHAR}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + \ No newline at end of file diff --git a/src/main/resources/mybatis/auto/TSysDictTypeMapper.xml b/src/main/resources/mybatis/auto/TSysDictTypeMapper.xml new file mode 100644 index 0000000..bde34f1 --- /dev/null +++ b/src/main/resources/mybatis/auto/TSysDictTypeMapper.xml @@ -0,0 +1,356 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id,dict_id,dict_name,dict_type,status,create_by,create_time,update_by,update_time,remark + + + + + + delete from t_sys_dict_type + where dict_id = #{dictId,jdbcType=BIGINT} + + + + delete from t_sys_dict_type + + + + + + + insert into t_sys_dict_type ( + id, + dict_id, + dict_name, + dict_type, + status, + create_by, + create_time, + update_by, + update_time, + remark + ) + values ( + #{id,jdbcType=VARCHAR}, + #{dictId,jdbcType=BIGINT}, + #{dictName,jdbcType=VARCHAR}, + #{dictType,jdbcType=VARCHAR}, + #{typeStatus,jdbcType=CHAR}, + #{createBy,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, + #{updateBy,jdbcType=VARCHAR}, + #{updateTime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR} + ) + + + + insert into t_sys_dict_type + + + + id, + + + + + dict_id, + + + + + dict_name, + + + + + dict_type, + + + + + status, + + + + + create_by, + + + + + create_time, + + + + + update_by, + + + + + update_time, + + + + + remark, + + + + + + #{id,jdbcType=VARCHAR}, + + + #{dictId,jdbcType=BIGINT}, + + + #{dictName,jdbcType=VARCHAR}, + + + #{dictType,jdbcType=VARCHAR}, + + + #{typeStatus,jdbcType=CHAR}, + + + #{createBy,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{updateBy,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + + + update t_sys_dict_type + + + id = #{record.id,jdbcType=VARCHAR}, + + + dict_id = #{record.dictId,jdbcType=BIGINT}, + + + dict_name = #{record.dictName,jdbcType=VARCHAR}, + + + dict_type = #{record.dictType,jdbcType=VARCHAR}, + + + status = #{record.typeStatus,jdbcType=CHAR}, + + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + + + update t_sys_dict_type + set + id = #{record.id,jdbcType=VARCHAR}, + + dict_id = #{record.dictId,jdbcType=BIGINT}, + + dict_name = #{record.dictName,jdbcType=VARCHAR}, + + dict_type = #{record.dictType,jdbcType=VARCHAR}, + + status = #{record.typeStatus,jdbcType=CHAR}, + + create_by = #{record.createBy,jdbcType=VARCHAR}, + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + update_by = #{record.updateBy,jdbcType=VARCHAR}, + + update_time = #{record.updateTime,jdbcType=TIMESTAMP}, + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + update t_sys_dict_type + + + id = #{id,jdbcType=VARCHAR}, + + + dict_name = #{dictName,jdbcType=VARCHAR}, + + + dict_type = #{dictType,jdbcType=VARCHAR}, + + + status = #{typeStatus,jdbcType=CHAR}, + + + create_by = #{createBy,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + update_by = #{updateBy,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=TIMESTAMP}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where dict_id = #{dictId,jdbcType=BIGINT} + + + + update t_sys_dict_type + set + id = #{id,jdbcType=VARCHAR} + dict_name = #{dictName,jdbcType=VARCHAR} + dict_type = #{dictType,jdbcType=VARCHAR} + status = #{typeStatus,jdbcType=CHAR} + create_by = #{createBy,jdbcType=VARCHAR} + create_time = #{createTime,jdbcType=TIMESTAMP} + update_by = #{updateBy,jdbcType=VARCHAR} + update_time = #{updateTime,jdbcType=TIMESTAMP} + remark = #{remark,jdbcType=VARCHAR} + where dict_id = #{dictId,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/templates/admin/dict_data/add.html b/src/main/resources/templates/admin/dict_data/add.html new file mode 100644 index 0000000..9aa5fd1 --- /dev/null +++ b/src/main/resources/templates/admin/dict_data/add.html @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/admin/dict_data/edit.html b/src/main/resources/templates/admin/dict_data/edit.html new file mode 100644 index 0000000..84d20d6 --- /dev/null +++ b/src/main/resources/templates/admin/dict_data/edit.html @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/admin/dict_data/list.html b/src/main/resources/templates/admin/dict_data/list.html new file mode 100644 index 0000000..3ce2abc --- /dev/null +++ b/src/main/resources/templates/admin/dict_data/list.html @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ +
+ +
+
+ + +
+
+
搜索条件
+
+ + + +
+
+ + + +
+
+ + +
+ + +
+
+
表单
+
+ + + +
+
+ + + +
+
+ +
+ + + + + +
+
+
+
+ +
+ +
+
+
+ + + + + + + + + + +
+ +
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/admin/dict_type/add.html b/src/main/resources/templates/admin/dict_type/add.html new file mode 100644 index 0000000..a9d872c --- /dev/null +++ b/src/main/resources/templates/admin/dict_type/add.html @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/admin/dict_type/edit.html b/src/main/resources/templates/admin/dict_type/edit.html new file mode 100644 index 0000000..954fd22 --- /dev/null +++ b/src/main/resources/templates/admin/dict_type/edit.html @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+ +
+ + + + + + + + + + + + + + + + diff --git a/src/main/resources/templates/admin/dict_type/list.html b/src/main/resources/templates/admin/dict_type/list.html new file mode 100644 index 0000000..ddae270 --- /dev/null +++ b/src/main/resources/templates/admin/dict_type/list.html @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+ +
+ +
+
+ + +
+
+
搜索条件
+
+ + + +
+
+ + + +
+
+ + +
+ + +
+
+
表单
+
+ + + +
+
+ + + +
+
+ +
+ + + + + +
+
+
+
+ +
+ +
+
+
+ + + + + + + + + + +
+ +
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + + -- Gitee