feat: There is no way the
This commit is contained in:
+17
@@ -2,6 +2,9 @@ package com.adc.da.slrs.sarBussStandFile.dao;
|
||||
|
||||
import com.adc.da.slrs.sarBussStandFile.entity.SarBussStandFile;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -11,6 +14,20 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
* @author super_liu
|
||||
* @since 2021-07-25
|
||||
*/
|
||||
@Repository
|
||||
public interface SarBussStandFileDao extends BaseMapper<SarBussStandFile> {
|
||||
|
||||
List<SarBussStandFile> selectFileByStandId(String lawsId);
|
||||
|
||||
List<SarBussStandFile> selectFileByStandIdAndId(SarBussStandFile laws);
|
||||
|
||||
List<SarBussStandFile> selectFileByAttId(String attId);
|
||||
|
||||
List<SarBussStandFile> selectFileMsgByAttId(String attId);
|
||||
|
||||
List<SarBussStandFile> selectFileByResId(SarBussStandFile sarBussStandFileEO);
|
||||
|
||||
int deleteByStandId(String standId);
|
||||
|
||||
int insertForeach(List<SarBussStandFile> list); //批量新增
|
||||
}
|
||||
|
||||
+11
-2
@@ -2,7 +2,12 @@ package com.adc.da.slrs.sarBussStandFile.entity;
|
||||
|
||||
import com.adc.da.base.entity.BaseEntity;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
@@ -66,15 +71,19 @@ public class SarBussStandFile extends BaseEntity {
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@TableField("CREATION_TIME")
|
||||
private LocalDateTime creationTime;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date creationTime;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
@TableField("MODIFY_TIME")
|
||||
private LocalDateTime modifyTime;
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date modifyTime;
|
||||
|
||||
@ApiModelProperty(value = "转换原文件id")
|
||||
@TableField("ORI_ATT_ID")
|
||||
private String oriAttId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<String> idList = new ArrayList<>();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user