见习之星考核过程(上传文件)

This commit is contained in:
paidaxing444
2020-08-31 18:12:34 +08:00
parent b54aa4397f
commit 77d127f37b
7 changed files with 138 additions and 11 deletions

View File

@ -43,6 +43,18 @@ public class TsbzJxzxkhgcsj extends BaseEntity {
@Excel(name = "创建人")
private Long createuserid;
/**
* 文件名称
*/
@Excel(name = "文件名称")
private String filename;
/**
* 文件路径
*/
@Excel(name = "文件路径")
private String filepath;
private TsbzJxzxkhzbx tsbzJxzxkhzbx;
public void setId(String id) {
@ -93,6 +105,22 @@ public class TsbzJxzxkhgcsj extends BaseEntity {
this.tsbzJxzxkhzbx = tsbzJxzxkhzbx;
}
public void setFilename(String filename) {
this.filename = filename;
}
public String getFilename() {
return filename;
}
public void setFilepath(String filepath) {
this.filepath = filepath;
}
public String getFilepath() {
return filepath;
}
@Override
public String toString() {
@ -104,6 +132,8 @@ public class TsbzJxzxkhgcsj extends BaseEntity {
.append("createuserid", getCreateuserid())
.append("createTime", getCreateTime())
.append("tsbzJxzxkhzbx", getTsbzJxzxkhzbx())
.append("filename", getFilename())
.append("filepath", getFilepath())
.toString();
}
}

View File

@ -58,4 +58,12 @@ public interface TsbzJxzxkhgcwjsjMapper {
* @return 结果
*/
public int deleteTsbzJxzxkhgcwjsjByIds(Long[] ids);
/**
* 批量删除考核过程文件数据
*
* @param gcids 需要删除的考核过程文件数据ID
* @return 结果
*/
public int deleteTsbzJxzxkhgcwjsjByGcIds(String[] gcids);
}

View File

@ -58,4 +58,12 @@ public interface ITsbzJxzxkhgcwjsjService {
* @return 结果
*/
public int deleteTsbzJxzxkhgcwjsjById(Long id);
/**
* 批量删除考核过程文件数据
*
* @param gcids 需要删除的考核过程文件数据ID
* @return 结果
*/
public int deleteTsbzJxzxkhgcwjsjByGcIds(String[] gcids);
}

View File

@ -76,6 +76,16 @@ public class TsbzJxzxkhgcwjsjServiceImpl implements ITsbzJxzxkhgcwjsjService {
return tsbzJxzxkhgcwjsjMapper.deleteTsbzJxzxkhgcwjsjByIds(ids);
}
/**
* 批量删除考核过程文件数据
*
* @param gcids 需要删除的考核过程文件数据ID
* @return 结果
*/
public int deleteTsbzJxzxkhgcwjsjByGcIds(String[] gcids) {
return tsbzJxzxkhgcwjsjMapper.deleteTsbzJxzxkhgcwjsjByGcIds(gcids);
}
/**
* 删除考核过程文件数据信息
*

View File

@ -73,4 +73,11 @@
</foreach>
</delete>
<delete id="deleteTsbzJxzxkhgcwjsjByGcIds" parameterType="String">
delete from tsbz_jxzxkhgcwjsj where gcid in
<foreach item="gcid" collection="array" open="(" separator="," close=")">
#{gcid}
</foreach>
</delete>
</mapper>