parent
ee1a0c104b
commit
05ee3cb323
@ -1,87 +0,0 @@
|
||||
package com.ruoyi.system.domain.tdcase;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 涉密案件管理
|
||||
* @author 13560
|
||||
* @TableName td_case
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
public class TdCase extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 案件名称
|
||||
*/
|
||||
private String caseName;
|
||||
|
||||
/**
|
||||
* 案件编号
|
||||
*/
|
||||
private String caseAssum;
|
||||
|
||||
/**
|
||||
* 案件类别
|
||||
*/
|
||||
private String caseType;
|
||||
|
||||
/**
|
||||
* 案件内容
|
||||
*/
|
||||
private String caseContent;
|
||||
|
||||
/**
|
||||
* 案件发生时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date caseTime;
|
||||
|
||||
/**
|
||||
* 案件发生地点
|
||||
*/
|
||||
private String caseAddress;
|
||||
|
||||
/**
|
||||
* 案件涉密等级
|
||||
*/
|
||||
private String caseGrade;
|
||||
|
||||
/**
|
||||
* 案件处理措施
|
||||
*/
|
||||
private String caseMeasure;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private String state;
|
||||
|
||||
/**
|
||||
* 涉案人员名称
|
||||
*/
|
||||
private String involvedName;
|
||||
|
||||
/**
|
||||
* 涉案人员联系方式
|
||||
*/
|
||||
private String involvedTel;
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
package com.ruoyi.system.mapper.tdcase;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.system.domain.tdcase.TdCase;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 13560
|
||||
* @description 针对表【td_case(涉密案件管理)】的数据库操作Mapper
|
||||
* @createDate 2024-08-13 15:55:39
|
||||
* @Entity generator.domain.TdCase
|
||||
*/
|
||||
@Mapper
|
||||
public interface TdCaseMapper extends BaseMapper<TdCase> {
|
||||
public List<TdCase> selectTdCaseList(TdCase tdCase);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
package com.ruoyi.system.service.tdcase;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.ruoyi.system.domain.tdcase.TdCase;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 13560
|
||||
* @description 针对表【td_case(涉密案件管理)】的数据库操作Service
|
||||
* @createDate 2024-08-13 15:55:39
|
||||
*/
|
||||
public interface TdCaseService extends IService<TdCase> {
|
||||
public List<TdCase> selectTdCaseList(TdCase tdCase);
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package com.ruoyi.system.service.tdcase.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.ruoyi.system.domain.tdcase.TdCase;
|
||||
import com.ruoyi.system.mapper.tdcase.TdCaseMapper;
|
||||
import com.ruoyi.system.service.tdcase.TdCaseService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 13560
|
||||
* @description 针对表【td_case(涉密案件管理)】的数据库操作Service实现
|
||||
* @createDate 2024-08-13 15:55:39
|
||||
*/
|
||||
@Service
|
||||
public class TdCaseServiceImpl extends ServiceImpl<TdCaseMapper, TdCase>
|
||||
implements TdCaseService {
|
||||
@Resource
|
||||
private TdCaseMapper caseMapper;
|
||||
@Override
|
||||
public List<TdCase> selectTdCaseList(TdCase tdCase) {
|
||||
return caseMapper.selectTdCaseList(tdCase);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue