代码生成

This commit is contained in:
李广豪 2021-11-08 08:56:11 +08:00
parent acd0904912
commit 82bc449551
201 changed files with 606 additions and 193 deletions

View File

@ -0,0 +1,85 @@
package com.mt.wms.basic.controller;
import com.mt.wms.basic.params.AlarmBaseParam;
import com.mt.wms.basic.params.AlarmBaseQueryParam;
import com.mt.wms.basic.service.AlarmBaseService;
import com.mt.wms.basic.vo.AlarmBaseVo;
import com.mt.wms.core.base.BaseController;
import com.mt.wms.core.constants.CommonConstant;
import com.mt.wms.core.params.IdParam;
import com.mt.wms.core.utils.IDGenerator;
import com.mt.wms.core.validator.groups.AddGroup;
import com.mt.wms.core.validator.groups.PageGroup;
import com.mt.wms.core.validator.groups.UpdateGroup;
import com.mt.wms.core.vo.IdVo;
import com.mt.wms.core.vo.PageVo;
import com.mt.wms.core.vo.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.groups.Default;
import java.util.List;
/**
* @Author: liguanghao
* @Date: 2021/10/9 11:09
* @Version 1.0
*/
@RestController
@RequestMapping(CommonConstant.API_MODULE_BASE + "basic")
@Slf4j
@Api(value = "报警基础信息管理", tags = "报警基础信息管理", hidden = false)
public class AlarmBaseController extends BaseController {
@Autowired
private AlarmBaseService alarmBaseService;
@PostMapping(value = "get")
@ApiOperation(value = "获取报警基础信息")
private R<AlarmBaseVo> get(@Validated @RequestBody IdParam idParam) {
return alarmBaseService.get(idParam);
}
@PostMapping(value = "list")
@ApiOperation(value = "获取报警基础信息列表")
private R<List<AlarmBaseVo>> list(@Validated({Default.class}) @RequestBody AlarmBaseQueryParam alarmBaseQueryParam) {
return alarmBaseService.list(alarmBaseQueryParam);
}
@PostMapping(value = "page")
@ApiOperation(value = "获取分页报警基础信息")
private R<PageVo<AlarmBaseVo>> page(@Validated({PageGroup.class, Default.class}) @RequestBody AlarmBaseQueryParam alarmBaseQueryParam) {
return alarmBaseService.page(alarmBaseQueryParam);
}
@PostMapping(value = "add")
@ApiOperation(value = "新增")
private R<IdVo> add(@Validated({AddGroup.class, Default.class}) @RequestBody AlarmBaseParam alarmBaseParam) {
return alarmBaseService.add(alarmBaseParam);
}
@PostMapping(value = "update")
@ApiOperation(value = "更新")
private R<IdVo> update(@Validated({UpdateGroup.class, Default.class}) @RequestBody AlarmBaseParam alarmBaseParam) {
return alarmBaseService.update(alarmBaseParam);
}
@PostMapping(value = "delete")
@ApiOperation(value = "删除报警基础信息")
private R<IdVo> delete(@Validated @RequestBody IdParam idParam) {
return alarmBaseService.delete(idParam);
}
@PostMapping(value = "codeGenerator")
@ApiOperation(value = "编码生成")
private String CodeGenerator(){
return IDGenerator.gen("BJ", "yyyyMMddHHmm", 2, "ALARMBASE_CODE");
}
}

View File

@ -11,6 +11,7 @@ import com.mt.wms.core.base.BaseController;
import com.mt.wms.core.constants.CommonConstant; import com.mt.wms.core.constants.CommonConstant;
import com.mt.wms.core.params.EnabledParam; import com.mt.wms.core.params.EnabledParam;
import com.mt.wms.core.params.IdParam; import com.mt.wms.core.params.IdParam;
import com.mt.wms.core.utils.IDGenerator;
import com.mt.wms.core.validator.groups.AddGroup; import com.mt.wms.core.validator.groups.AddGroup;
import com.mt.wms.core.validator.groups.PageGroup; import com.mt.wms.core.validator.groups.PageGroup;
import com.mt.wms.core.validator.groups.UpdateGroup; import com.mt.wms.core.validator.groups.UpdateGroup;
@ -79,4 +80,9 @@ public class WarehouseController extends BaseController {
return warehouseService.delete(idParam); return warehouseService.delete(idParam);
} }
@PostMapping(value = "codeGenerator")
@ApiOperation(value = "编码生成")
private String CodeGenerator(){
return IDGenerator.gen("HC", "yyyyMMddHHmm", 2, "WAREHOUSE_CODE");
}
} }

View File

@ -0,0 +1,65 @@
package com.mt.wms.basic.params;
import com.mt.wms.core.base.BaseParam;
import com.mt.wms.core.validator.groups.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull;
/**
* @Author: liguanghao
* @Date: 2021/9/29 9:15
* @Version 1.0
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "报警基础信息参数对象", description = "用于新增和更新报警基础信息")
public class AlarmBaseParam extends BaseParam {
private static final long serialVersionUID = 1L;
/**
* 主键自增
*/
@ApiModelProperty(value = "主键,更新时需要填写",required = false, example = "1")
@NotNull(message = "xxID不能为空", groups = {UpdateGroup.class})
private Long id;
/**
* 编码
*/
@ApiModelProperty(value = "编码",required = true, example = "1")
@NotNull(message = "编码不能为空")
private String code;
/**
* 报警类型
*/
@ApiModelProperty(value = "报警类型",required = true, example = "1")
@NotNull(message = "报警类型不能为空")
private String alarmClass;
/**
* 报警内容
*/
@ApiModelProperty(value = "报警内容",required = true, example = "1")
@NotNull(message = "报警类型不能为空")
private String alarmInfo;
/**
* 备注
*/
@ApiModelProperty(value = "备注",required = true, example = "1")
private String note;
/**
* 描述
*/
@ApiModelProperty(value = "描述",required = true, example = "1")
private String description;
}

View File

@ -0,0 +1,31 @@
package com.mt.wms.basic.params;
import com.mt.wms.core.params.BasePageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @Author: liguanghao
* @Date: 2021/9/29 9:36
* @Version 1.0
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "报警基础信息查询参数", description = "用于查询报警基础信息")
public class AlarmBaseQueryParam extends BasePageParam {
/**
* 主键自增
*/
@ApiModelProperty(value = "主键",required = false, example = "1")
private Long id;
/**
* 报警类型
*/
@ApiModelProperty(value = "报警类型",required = false, example = "1")
private String alarmClass;
}

View File

@ -0,0 +1,69 @@
package com.mt.wms.basic.service;
import com.mt.wms.basic.params.AlarmBaseParam;
import com.mt.wms.basic.params.AlarmBaseQueryParam;
import com.mt.wms.basic.vo.AlarmBaseVo;
import com.mt.wms.core.params.IdParam;
import com.mt.wms.core.vo.IdVo;
import com.mt.wms.core.vo.PageVo;
import com.mt.wms.core.vo.R;
import java.util.List;
/**
* @Author: liguanghao
* @Date: 2021/10/9 10:46
* @Version 1.0
*/
public interface AlarmBaseService {
/**
* 获取xx
*
* @param idParam 主键参数
* @return xx
*/
R<AlarmBaseVo> get(IdParam idParam);
/**
* 获取xx列表
*
* @param alarmBaseQueryParam xx查询参数
* @return xx列表
*/
R<List<AlarmBaseVo>> list(AlarmBaseQueryParam alarmBaseQueryParam);
/**
* 获取xx分页列表
*
* @param alarmBaseQueryParam xx查询参数
* @return xx分页列表
*/
R<PageVo<AlarmBaseVo>> page(AlarmBaseQueryParam alarmBaseQueryParam);
/**
* 新增xx
*
* @param alarmBaseParam xx参数
* @return 主键
*/
R<IdVo> add(AlarmBaseParam alarmBaseParam);
/**
* 更新xx
*
* @param alarmBaseParam xx参数
* @return 主键
*/
R<IdVo> update(AlarmBaseParam alarmBaseParam);
/**
* 删除xx
*
* @param idParam 主键参数
* @return 主键
*/
R<IdVo> delete(IdParam idParam);
}

View File

@ -0,0 +1,95 @@
package com.mt.wms.basic.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mt.wms.basic.params.AlarmBaseParam;
import com.mt.wms.basic.params.AlarmBaseQueryParam;
import com.mt.wms.basic.service.AlarmBaseService;
import com.mt.wms.basic.vo.AlarmBaseVo;
import com.mt.wms.basic.vo.WarehouseVo;
import com.mt.wms.core.api.Assert;
import com.mt.wms.core.base.BaseService;
import com.mt.wms.core.dal.entity.AlarmBase;
import com.mt.wms.core.dal.entity.Warehouse;
import com.mt.wms.core.dal.service.AlarmBaseServiceBiz;
import com.mt.wms.core.errorcode.ApiErrorCode;
import com.mt.wms.core.params.IdParam;
import com.mt.wms.core.vo.IdVo;
import com.mt.wms.core.vo.PageVo;
import com.mt.wms.core.vo.R;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List;
/**
* @Author: liguanghao
* @Date: 2021/10/9 10:49
* @Version 1.0
*/
@Service
@Transactional
public class AlarmBaseServiceImpl extends BaseService implements AlarmBaseService {
@Resource
private AlarmBaseServiceBiz alarmBaseServiceBiz;
@Override
public R<AlarmBaseVo> get(IdParam idParam) {
Assert.notNull(ApiErrorCode.INVALID_PARAMETER,idParam.getId());
AlarmBase alarmBase = alarmBaseServiceBiz.getById(idParam.getId());
AlarmBaseVo alarmBaseVo = AlarmBaseVo.builder().build();
BeanUtils.copyProperties(alarmBase,alarmBaseVo);
return successful(alarmBaseVo);
}
@Override
public R<List<AlarmBaseVo>> list(AlarmBaseQueryParam alarmBaseQueryParam) {
return null;
}
@Override
public R<PageVo<AlarmBaseVo>> page(AlarmBaseQueryParam alarmBaseQueryParam) {
QueryWrapper<AlarmBase> wrapper=new QueryWrapper<>();
wrapper.like(StringUtils.isNotBlank(alarmBaseQueryParam.getAlarmClass()),AlarmBase.ALARM_CLASS,alarmBaseQueryParam.getAlarmClass())
.orderByDesc(AlarmBase.CREATE_TIME);
Page<AlarmBase> page = alarmBaseServiceBiz.page(new Page<>(alarmBaseQueryParam.getCurrent(), alarmBaseQueryParam.getSize()), wrapper);
return successful(new PageVo<>(page,AlarmBaseVo.class));
}
@Override
public R<IdVo> add(AlarmBaseParam alarmBaseParam) {
QueryWrapper<AlarmBase> wrapper=new QueryWrapper<>();
AlarmBase alarmBase=new AlarmBase();
BeanUtils.copyProperties(alarmBaseParam,alarmBase);
setCommonField(alarmBase);
alarmBaseServiceBiz.save(alarmBase);
return successful(IdVo.builder().id(alarmBase.getId()).build());
}
@Override
public R<IdVo> update(AlarmBaseParam alarmBaseParam) {
AlarmBase alarmBase = alarmBaseServiceBiz.getById(alarmBaseParam.getId());
if (!alarmBaseParam.getCode().equals(alarmBase.getCode())){
QueryWrapper<AlarmBase> wrapper=new QueryWrapper<>();
wrapper.eq(AlarmBase.CODE,alarmBaseParam.getCode());
wrapper.eq(AlarmBase.VALID,1);
Assert.eqZero(alarmBaseServiceBiz.count(wrapper),"报警编码已存在!");
}
AlarmBase updateAlarmBase=new AlarmBase();
BeanUtils.copyProperties(alarmBaseParam,updateAlarmBase);
setUpdateCommonField(updateAlarmBase);
alarmBaseServiceBiz.updateById(updateAlarmBase);
return successful(IdVo.builder().id(updateAlarmBase.getId()).build());
}
@Override
public R<IdVo> delete(IdParam idParam) {
alarmBaseServiceBiz.removeById(idParam.getId());
return successful(IdVo.builder().id(idParam.getId()).build());
}
}

View File

@ -60,6 +60,7 @@ public class WarehouseServiceImpl extends BaseService implements WarehouseServic
@Override @Override
public R<IdVo> add(WarehouseParam warehouseParam) { public R<IdVo> add(WarehouseParam warehouseParam) {
QueryWrapper<Warehouse> wrapper=new QueryWrapper<>(); QueryWrapper<Warehouse> wrapper=new QueryWrapper<>();
Warehouse warehouse=new Warehouse(); Warehouse warehouse=new Warehouse();
BeanUtils.copyProperties(warehouseParam,warehouse); BeanUtils.copyProperties(warehouseParam,warehouse);
setCommonField(warehouse); setCommonField(warehouse);

View File

@ -0,0 +1,61 @@
package com.mt.wms.basic.vo;
import com.mt.wms.core.base.BaseVo;
import com.mt.wms.core.validator.groups.UpdateGroup;
import com.mt.wms.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull;
/**
* @Author: liguanghao
* @Date: 2021/9/29 9:54
* @Version 1.0
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "缓存区视图对象", description = "用于查询缓存区信息")
public class AlarmBaseVo extends BaseVo implements PageVo.ConvertVo{
/**
* 主键自增
*/
@ApiModelProperty(value = "主键,更新时需要填写", example = "1")
private Long id;
/**
* 编码
*/
@ApiModelProperty(value = "编码", example = "1")
private String code;
/**
* 报警类型
*/
@ApiModelProperty(value = "报警类型", example = "1")
private String alarmClass;
/**
* 报警内容
*/
@ApiModelProperty(value = "报警内容", example = "1")
private String alarmInfo;
/**
* 备注
*/
@ApiModelProperty(value = "备注", example = "1")
private String note;
/**
* 描述
*/
@ApiModelProperty(value = "描述", example = "1")
private String description;
}

View File

@ -20,7 +20,7 @@ import javax.validation.constraints.NotNull;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true) @Accessors(chain = true)
@Builder @Builder
@ApiModel(value = "xx视图对象", description = "用于查询xx信息") @ApiModel(value = "缓存区视图对象", description = "用于查询缓存区信息")
public class WarehouseVo extends BaseVo implements PageVo.ConvertVo{ public class WarehouseVo extends BaseVo implements PageVo.ConvertVo{
/** /**
* 主键自增 * 主键自增

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -18,7 +18,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -20,7 +20,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface AlarmBaseMapper extends BaseMapper<AlarmBase> { public interface AlarmBaseMapper extends BaseMapper<AlarmBase> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface AlarmInfoMapper extends BaseMapper<AlarmInfo> { public interface AlarmInfoMapper extends BaseMapper<AlarmInfo> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface CurrTaskDetMapper extends BaseMapper<CurrTaskDet> { public interface CurrTaskDetMapper extends BaseMapper<CurrTaskDet> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface CurrTaskMapper extends BaseMapper<CurrTask> { public interface CurrTaskMapper extends BaseMapper<CurrTask> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface FactoryMapper extends BaseMapper<Factory> { public interface FactoryMapper extends BaseMapper<Factory> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface InStockInfoHisMapper extends BaseMapper<InStockInfoHis> { public interface InStockInfoHisMapper extends BaseMapper<InStockInfoHis> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface InStockInfoMapper extends BaseMapper<InStockInfo> { public interface InStockInfoMapper extends BaseMapper<InStockInfo> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface KilnInfoMapper extends BaseMapper<KilnInfo> { public interface KilnInfoMapper extends BaseMapper<KilnInfo> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface LocationMapper extends BaseMapper<Location> { public interface LocationMapper extends BaseMapper<Location> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface LoginLogMapper extends BaseMapper<LoginLog> { public interface LoginLogMapper extends BaseMapper<LoginLog> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface LoginSessionMapper extends BaseMapper<LoginSession> { public interface LoginSessionMapper extends BaseMapper<LoginSession> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface OrderInfoHisMapper extends BaseMapper<OrderInfoHis> { public interface OrderInfoHisMapper extends BaseMapper<OrderInfoHis> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface OrderInfoMapper extends BaseMapper<OrderInfo> { public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParBaseMapper extends BaseMapper<ParBase> { public interface ParBaseMapper extends BaseMapper<ParBase> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParEleValueMapper extends BaseMapper<ParEleValue> { public interface ParEleValueMapper extends BaseMapper<ParEleValue> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParGasValueMapper extends BaseMapper<ParGasValue> { public interface ParGasValueMapper extends BaseMapper<ParGasValue> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParInfoMapper extends BaseMapper<ParInfo> { public interface ParInfoMapper extends BaseMapper<ParInfo> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParRotSpeedValueMapper extends BaseMapper<ParRotSpeedValue> { public interface ParRotSpeedValueMapper extends BaseMapper<ParRotSpeedValue> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ParTemValueMapper extends BaseMapper<ParTemValue> { public interface ParTemValueMapper extends BaseMapper<ParTemValue> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ProductAttrMapper extends BaseMapper<ProductAttr> { public interface ProductAttrMapper extends BaseMapper<ProductAttr> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ProductLibraryMapper extends BaseMapper<ProductLibrary> { public interface ProductLibraryMapper extends BaseMapper<ProductLibrary> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface ResourceMapper extends BaseMapper<Resource> { public interface ResourceMapper extends BaseMapper<Resource> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SmsCodeMapper extends BaseMapper<SmsCode> { public interface SmsCodeMapper extends BaseMapper<SmsCode> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SmsSceneMapper extends BaseMapper<SmsScene> { public interface SmsSceneMapper extends BaseMapper<SmsScene> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SmsSendMapper extends BaseMapper<SmsSend> { public interface SmsSendMapper extends BaseMapper<SmsSend> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SmsSignMapper extends BaseMapper<SmsSign> { public interface SmsSignMapper extends BaseMapper<SmsSign> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SmsTemplateMapper extends BaseMapper<SmsTemplate> { public interface SmsTemplateMapper extends BaseMapper<SmsTemplate> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysDictDataMapper extends BaseMapper<SysDictData> { public interface SysDictDataMapper extends BaseMapper<SysDictData> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysDictTypeMapper extends BaseMapper<SysDictType> { public interface SysDictTypeMapper extends BaseMapper<SysDictType> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysFileMapper extends BaseMapper<SysFile> { public interface SysFileMapper extends BaseMapper<SysFile> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysFileTypeMapper extends BaseMapper<SysFileType> { public interface SysFileTypeMapper extends BaseMapper<SysFileType> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysMenuMapper extends BaseMapper<SysMenu> { public interface SysMenuMapper extends BaseMapper<SysMenu> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysMenuResourceMapper extends BaseMapper<SysMenuResource> { public interface SysMenuResourceMapper extends BaseMapper<SysMenuResource> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysOrgMapper extends BaseMapper<SysOrg> { public interface SysOrgMapper extends BaseMapper<SysOrg> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysPostMapper extends BaseMapper<SysPost> { public interface SysPostMapper extends BaseMapper<SysPost> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysRoleMapper extends BaseMapper<SysRole> { public interface SysRoleMapper extends BaseMapper<SysRole> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> { public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysUserMapper extends BaseMapper<SysUser> { public interface SysUserMapper extends BaseMapper<SysUser> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysUserPostMapper extends BaseMapper<SysUserPost> { public interface SysUserPostMapper extends BaseMapper<SysUserPost> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> { public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface TaskDetHisMapper extends BaseMapper<TaskDetHis> { public interface TaskDetHisMapper extends BaseMapper<TaskDetHis> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface TaskHisMapper extends BaseMapper<TaskHis> { public interface TaskHisMapper extends BaseMapper<TaskHis> {

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p> * </p>
* *
* @author mt * @author mt
* @since 2021-09-28 * @since 2021-09-29
*/ */
public interface TaskSourceLogMapper extends BaseMapper<TaskSourceLog> { public interface TaskSourceLogMapper extends BaseMapper<TaskSourceLog> {

Some files were not shown because too many files have changed in this diff Show More