见习之星考核过程
This commit is contained in:
parent
36b5d6a399
commit
81ac18fd95
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.web.controller.jxjs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcsj;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxzxkhgcsjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 考核过程数据Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jxjs/jxzxkhgcsj")
|
||||
public class TsbzJxzxkhgcsjController extends BaseController {
|
||||
@Autowired
|
||||
private ITsbzJxzxkhgcsjService tsbzJxzxkhgcsjService;
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
startPage();
|
||||
List<TsbzJxzxkhgcsj> list = tsbzJxzxkhgcsjService.selectTsbzJxzxkhgcsjList(tsbzJxzxkhgcsj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出考核过程数据列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:export')")
|
||||
@Log(title = "考核过程数据", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
List<TsbzJxzxkhgcsj> list = tsbzJxzxkhgcsjService.selectTsbzJxzxkhgcsjList(tsbzJxzxkhgcsj);
|
||||
ExcelUtil<TsbzJxzxkhgcsj> util = new ExcelUtil<TsbzJxzxkhgcsj>(TsbzJxzxkhgcsj.class);
|
||||
return util.exportExcel(list, "jxzxkhgcsj");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取考核过程数据详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id) {
|
||||
return AjaxResult.success(tsbzJxzxkhgcsjService.selectTsbzJxzxkhgcsjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核过程数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:add')")
|
||||
@Log(title = "考核过程数据", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
return toAjax(tsbzJxzxkhgcsjService.insertTsbzJxzxkhgcsj(tsbzJxzxkhgcsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核过程数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:edit')")
|
||||
@Log(title = "考核过程数据", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
return toAjax(tsbzJxzxkhgcsjService.updateTsbzJxzxkhgcsj(tsbzJxzxkhgcsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核过程数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcsj:remove')")
|
||||
@Log(title = "考核过程数据", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids) {
|
||||
return toAjax(tsbzJxzxkhgcsjService.deleteTsbzJxzxkhgcsjByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.web.controller.jxjs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcwjsj;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxzxkhgcwjsjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 考核过程文件数据Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jxjs/jxzxkhgcwjsj")
|
||||
public class TsbzJxzxkhgcwjsjController extends BaseController {
|
||||
@Autowired
|
||||
private ITsbzJxzxkhgcwjsjService tsbzJxzxkhgcwjsjService;
|
||||
|
||||
/**
|
||||
* 查询考核过程文件数据列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcwjsj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
startPage();
|
||||
List<TsbzJxzxkhgcwjsj> list = tsbzJxzxkhgcwjsjService.selectTsbzJxzxkhgcwjsjList(tsbzJxzxkhgcwjsj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出考核过程文件数据列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcwjsj:export')")
|
||||
@Log(title = "考核过程文件数据", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
List<TsbzJxzxkhgcwjsj> list = tsbzJxzxkhgcwjsjService.selectTsbzJxzxkhgcwjsjList(tsbzJxzxkhgcwjsj);
|
||||
ExcelUtil<TsbzJxzxkhgcwjsj> util = new ExcelUtil<TsbzJxzxkhgcwjsj>(TsbzJxzxkhgcwjsj.class);
|
||||
return util.exportExcel(list, "jxzxkhgcwjsj");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取考核过程文件数据详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:jxzxkhgcwjsj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(tsbzJxzxkhgcwjsjService.selectTsbzJxzxkhgcwjsjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核过程文件数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcwjsj:add')")
|
||||
@Log(title = "考核过程文件数据", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
return toAjax(tsbzJxzxkhgcwjsjService.insertTsbzJxzxkhgcwjsj(tsbzJxzxkhgcwjsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核过程文件数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcwjsj:edit')")
|
||||
@Log(title = "考核过程文件数据", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
return toAjax(tsbzJxzxkhgcwjsjService.updateTsbzJxzxkhgcwjsj(tsbzJxzxkhgcwjsj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核过程文件数据
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jxzxkhgcwjsj:remove')")
|
||||
@Log(title = "考核过程文件数据", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(tsbzJxzxkhgcwjsjService.deleteTsbzJxzxkhgcwjsjByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.web.controller.jxjs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.jxjs.domain.TsbzJzxzkhsh;
|
||||
import com.ruoyi.jxjs.service.ITsbzJzxzkhshService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 考核审核过程Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/jxjs/jzxzkhsh")
|
||||
public class TsbzJzxzkhshController extends BaseController {
|
||||
@Autowired
|
||||
private ITsbzJzxzkhshService tsbzJzxzkhshService;
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
startPage();
|
||||
List<TsbzJzxzkhsh> list = tsbzJzxzkhshService.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出考核审核过程列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:export')")
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
List<TsbzJzxzkhsh> list = tsbzJzxzkhshService.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
||||
ExcelUtil<TsbzJzxzkhsh> util = new ExcelUtil<TsbzJzxzkhsh>(TsbzJzxzkhsh.class);
|
||||
return util.exportExcel(list, "jzxzkhsh");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取考核审核过程详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(tsbzJzxzkhshService.selectTsbzJzxzkhshById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:add')")
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
return toAjax(tsbzJzxzkhshService.insertTsbzJzxzkhsh(tsbzJzxzkhsh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:edit')")
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
return toAjax(tsbzJzxzkhshService.updateTsbzJzxzkhsh(tsbzJzxzkhsh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核审核过程
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('jxjs:jzxzkhsh:remove')")
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(tsbzJzxzkhshService.deleteTsbzJzxzkhshByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jxjs.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 考核过程数据对象 tsbz_jxzxkhgcsj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public class TsbzJxzxkhgcsj extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 所属方案
|
||||
*/
|
||||
@Excel(name = "所属方案")
|
||||
private Long faid;
|
||||
|
||||
/**
|
||||
* 指标项
|
||||
*/
|
||||
@Excel(name = "指标项")
|
||||
private Long zbid;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
@Excel(name = "内容")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setFaid(Long faid) {
|
||||
this.faid = faid;
|
||||
}
|
||||
|
||||
public Long getFaid() {
|
||||
return faid;
|
||||
}
|
||||
|
||||
public void setZbid(Long zbid) {
|
||||
this.zbid = zbid;
|
||||
}
|
||||
|
||||
public Long getZbid() {
|
||||
return zbid;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("faid", getFaid())
|
||||
.append("zbid", getZbid())
|
||||
.append("content", getContent())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.jxjs.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 考核过程文件数据对象 tsbz_jxzxkhgcwjsj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public class TsbzJxzxkhgcwjsj extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 所属过程
|
||||
*/
|
||||
@Excel(name = "所属过程")
|
||||
private String gcid;
|
||||
|
||||
/**
|
||||
* 文件名称
|
||||
*/
|
||||
@Excel(name = "文件名称")
|
||||
private String filename;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
*/
|
||||
@Excel(name = "文件路径")
|
||||
private String filepath;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setGcid(String gcid) {
|
||||
this.gcid = gcid;
|
||||
}
|
||||
|
||||
public String getGcid() {
|
||||
return gcid;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("gcid", getGcid())
|
||||
.append("filename", getFilename())
|
||||
.append("filepath", getFilepath())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,187 @@
|
||||
package com.ruoyi.jxjs.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 考核审核过程对象 tsbz_jzxzkhsh
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public class TsbzJzxzkhsh extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 考核方案
|
||||
*/
|
||||
@Excel(name = "考核方案")
|
||||
private Long faid;
|
||||
|
||||
/**
|
||||
* 教师
|
||||
*/
|
||||
@Excel(name = "教师")
|
||||
private Long jsid;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 校级审核人
|
||||
*/
|
||||
@Excel(name = "校级审核人")
|
||||
private Long xjshr;
|
||||
|
||||
/**
|
||||
* 校级审核意见
|
||||
*/
|
||||
@Excel(name = "校级审核意见")
|
||||
private String xjshyj;
|
||||
|
||||
/**
|
||||
* 校级审核建议
|
||||
*/
|
||||
@Excel(name = "校级审核建议")
|
||||
private String xjshjy;
|
||||
|
||||
/**
|
||||
* 区级审核人
|
||||
*/
|
||||
@Excel(name = "区级审核人")
|
||||
private Long qjshr;
|
||||
|
||||
/**
|
||||
* 区级审核意见
|
||||
*/
|
||||
@Excel(name = "区级审核意见")
|
||||
private String qjshyj;
|
||||
|
||||
/**
|
||||
* 区级审核建议
|
||||
*/
|
||||
@Excel(name = "区级审核建议")
|
||||
private String qjshjy;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuseird;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setFaid(Long faid) {
|
||||
this.faid = faid;
|
||||
}
|
||||
|
||||
public Long getFaid() {
|
||||
return faid;
|
||||
}
|
||||
|
||||
public void setJsid(Long jsid) {
|
||||
this.jsid = jsid;
|
||||
}
|
||||
|
||||
public Long getJsid() {
|
||||
return jsid;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setXjshr(Long xjshr) {
|
||||
this.xjshr = xjshr;
|
||||
}
|
||||
|
||||
public Long getXjshr() {
|
||||
return xjshr;
|
||||
}
|
||||
|
||||
public void setXjshyj(String xjshyj) {
|
||||
this.xjshyj = xjshyj;
|
||||
}
|
||||
|
||||
public String getXjshyj() {
|
||||
return xjshyj;
|
||||
}
|
||||
|
||||
public void setXjshjy(String xjshjy) {
|
||||
this.xjshjy = xjshjy;
|
||||
}
|
||||
|
||||
public String getXjshjy() {
|
||||
return xjshjy;
|
||||
}
|
||||
|
||||
public void setQjshr(Long qjshr) {
|
||||
this.qjshr = qjshr;
|
||||
}
|
||||
|
||||
public Long getQjshr() {
|
||||
return qjshr;
|
||||
}
|
||||
|
||||
public void setQjshyj(String qjshyj) {
|
||||
this.qjshyj = qjshyj;
|
||||
}
|
||||
|
||||
public String getQjshyj() {
|
||||
return qjshyj;
|
||||
}
|
||||
|
||||
public void setQjshjy(String qjshjy) {
|
||||
this.qjshjy = qjshjy;
|
||||
}
|
||||
|
||||
public String getQjshjy() {
|
||||
return qjshjy;
|
||||
}
|
||||
|
||||
public void setCreateuseird(Long createuseird) {
|
||||
this.createuseird = createuseird;
|
||||
}
|
||||
|
||||
public Long getCreateuseird() {
|
||||
return createuseird;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("faid", getFaid())
|
||||
.append("jsid", getJsid())
|
||||
.append("status", getStatus())
|
||||
.append("xjshr", getXjshr())
|
||||
.append("xjshyj", getXjshyj())
|
||||
.append("xjshjy", getXjshjy())
|
||||
.append("qjshr", getQjshr())
|
||||
.append("qjshyj", getQjshyj())
|
||||
.append("qjshjy", getQjshjy())
|
||||
.append("createuseird", getCreateuseird())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcsj;
|
||||
|
||||
/**
|
||||
* 考核过程数据Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface TsbzJxzxkhgcsjMapper {
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id);
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 考核过程数据集合
|
||||
*/
|
||||
public List<TsbzJxzxkhgcsj> selectTsbzJxzxkhgcsjList(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 新增考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 修改考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 删除考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcsjById(String id);
|
||||
|
||||
/**
|
||||
* 批量删除考核过程数据
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcsjByIds(String[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcwjsj;
|
||||
|
||||
/**
|
||||
* 考核过程文件数据Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface TsbzJxzxkhgcwjsjMapper {
|
||||
/**
|
||||
* 查询考核过程文件数据
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 考核过程文件数据
|
||||
*/
|
||||
public TsbzJxzxkhgcwjsj selectTsbzJxzxkhgcwjsjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核过程文件数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 考核过程文件数据集合
|
||||
*/
|
||||
public List<TsbzJxzxkhgcwjsj> selectTsbzJxzxkhgcwjsjList(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 新增考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 修改考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 删除考核过程文件数据
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcwjsjById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除考核过程文件数据
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcwjsjByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJzxzkhsh;
|
||||
|
||||
/**
|
||||
* 考核审核过程Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface TsbzJzxzkhshMapper {
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 考核审核过程集合
|
||||
*/
|
||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 删除考核审核过程
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcsj;
|
||||
|
||||
/**
|
||||
* 考核过程数据Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface ITsbzJxzxkhgcsjService {
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id);
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 考核过程数据集合
|
||||
*/
|
||||
public List<TsbzJxzxkhgcsj> selectTsbzJxzxkhgcsjList(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 新增考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 修改考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj);
|
||||
|
||||
/**
|
||||
* 批量删除考核过程数据
|
||||
*
|
||||
* @param ids 需要删除的考核过程数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcsjByIds(String[] ids);
|
||||
|
||||
/**
|
||||
* 删除考核过程数据信息
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcsjById(String id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcwjsj;
|
||||
|
||||
/**
|
||||
* 考核过程文件数据Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface ITsbzJxzxkhgcwjsjService {
|
||||
/**
|
||||
* 查询考核过程文件数据
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 考核过程文件数据
|
||||
*/
|
||||
public TsbzJxzxkhgcwjsj selectTsbzJxzxkhgcwjsjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核过程文件数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 考核过程文件数据集合
|
||||
*/
|
||||
public List<TsbzJxzxkhgcwjsj> selectTsbzJxzxkhgcwjsjList(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 新增考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 修改考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj);
|
||||
|
||||
/**
|
||||
* 批量删除考核过程文件数据
|
||||
*
|
||||
* @param ids 需要删除的考核过程文件数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcwjsjByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除考核过程文件数据信息
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJxzxkhgcwjsjById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.jxjs.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxjs.domain.TsbzJzxzkhsh;
|
||||
|
||||
/**
|
||||
* 考核审核过程Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
public interface ITsbzJzxzkhshService {
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 考核审核过程集合
|
||||
*/
|
||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
* @param ids 需要删除的考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除考核审核过程信息
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshById(Long id);
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package com.ruoyi.jxjs.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.jxjs.mapper.TsbzJxzxkhgcsjMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcsj;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxzxkhgcsjService;
|
||||
|
||||
/**
|
||||
* 考核过程数据Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJxzxkhgcsjServiceImpl implements ITsbzJxzxkhgcsjService {
|
||||
@Autowired
|
||||
private TsbzJxzxkhgcsjMapper tsbzJxzxkhgcsjMapper;
|
||||
|
||||
/**
|
||||
* 查询考核过程数据
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxzxkhgcsj selectTsbzJxzxkhgcsjById(String id) {
|
||||
return tsbzJxzxkhgcsjMapper.selectTsbzJxzxkhgcsjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询考核过程数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 考核过程数据
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJxzxkhgcsj> selectTsbzJxzxkhgcsjList(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
return tsbzJxzxkhgcsjMapper.selectTsbzJxzxkhgcsjList(tsbzJxzxkhgcsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
tsbzJxzxkhgcsj.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJxzxkhgcsjMapper.insertTsbzJxzxkhgcsj(tsbzJxzxkhgcsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核过程数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcsj 考核过程数据
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJxzxkhgcsj(TsbzJxzxkhgcsj tsbzJxzxkhgcsj) {
|
||||
return tsbzJxzxkhgcsjMapper.updateTsbzJxzxkhgcsj(tsbzJxzxkhgcsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除考核过程数据
|
||||
*
|
||||
* @param ids 需要删除的考核过程数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxkhgcsjByIds(String[] ids) {
|
||||
return tsbzJxzxkhgcsjMapper.deleteTsbzJxzxkhgcsjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核过程数据信息
|
||||
*
|
||||
* @param id 考核过程数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxkhgcsjById(String id) {
|
||||
return tsbzJxzxkhgcsjMapper.deleteTsbzJxzxkhgcsjById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package com.ruoyi.jxjs.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.jxjs.mapper.TsbzJxzxkhgcwjsjMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJxzxkhgcwjsj;
|
||||
import com.ruoyi.jxjs.service.ITsbzJxzxkhgcwjsjService;
|
||||
|
||||
/**
|
||||
* 考核过程文件数据Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJxzxkhgcwjsjServiceImpl implements ITsbzJxzxkhgcwjsjService {
|
||||
@Autowired
|
||||
private TsbzJxzxkhgcwjsjMapper tsbzJxzxkhgcwjsjMapper;
|
||||
|
||||
/**
|
||||
* 查询考核过程文件数据
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 考核过程文件数据
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxzxkhgcwjsj selectTsbzJxzxkhgcwjsjById(Long id) {
|
||||
return tsbzJxzxkhgcwjsjMapper.selectTsbzJxzxkhgcwjsjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询考核过程文件数据列表
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 考核过程文件数据
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJxzxkhgcwjsj> selectTsbzJxzxkhgcwjsjList(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
return tsbzJxzxkhgcwjsjMapper.selectTsbzJxzxkhgcwjsjList(tsbzJxzxkhgcwjsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
tsbzJxzxkhgcwjsj.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJxzxkhgcwjsjMapper.insertTsbzJxzxkhgcwjsj(tsbzJxzxkhgcwjsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核过程文件数据
|
||||
*
|
||||
* @param tsbzJxzxkhgcwjsj 考核过程文件数据
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJxzxkhgcwjsj(TsbzJxzxkhgcwjsj tsbzJxzxkhgcwjsj) {
|
||||
return tsbzJxzxkhgcwjsjMapper.updateTsbzJxzxkhgcwjsj(tsbzJxzxkhgcwjsj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除考核过程文件数据
|
||||
*
|
||||
* @param ids 需要删除的考核过程文件数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxkhgcwjsjByIds(Long[] ids) {
|
||||
return tsbzJxzxkhgcwjsjMapper.deleteTsbzJxzxkhgcwjsjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核过程文件数据信息
|
||||
*
|
||||
* @param id 考核过程文件数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJxzxkhgcwjsjById(Long id) {
|
||||
return tsbzJxzxkhgcwjsjMapper.deleteTsbzJxzxkhgcwjsjById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package com.ruoyi.jxjs.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.jxjs.mapper.TsbzJzxzkhshMapper;
|
||||
import com.ruoyi.jxjs.domain.TsbzJzxzkhsh;
|
||||
import com.ruoyi.jxjs.service.ITsbzJzxzkhshService;
|
||||
|
||||
/**
|
||||
* 考核审核过程Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJzxzkhshServiceImpl implements ITsbzJzxzkhshService {
|
||||
@Autowired
|
||||
private TsbzJzxzkhshMapper tsbzJzxzkhshMapper;
|
||||
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
@Override
|
||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id) {
|
||||
return tsbzJzxzkhshMapper.selectTsbzJzxzkhshById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
return tsbzJzxzkhshMapper.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
tsbzJzxzkhsh.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJzxzkhshMapper.insertTsbzJzxzkhsh(tsbzJzxzkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
* @param tsbzJzxzkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
||||
return tsbzJzxzkhshMapper.updateTsbzJzxzkhsh(tsbzJzxzkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
* @param ids 需要删除的考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids) {
|
||||
return tsbzJzxzkhshMapper.deleteTsbzJzxzkhshByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核审核过程信息
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJzxzkhshById(Long id) {
|
||||
return tsbzJzxzkhshMapper.deleteTsbzJzxzkhshById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.jxjs.mapper.TsbzJxzxkhgcsjMapper">
|
||||
|
||||
<resultMap type="TsbzJxzxkhgcsj" id="TsbzJxzxkhgcsjResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="faid" column="faid"/>
|
||||
<result property="zbid" column="zbid"/>
|
||||
<result property="content" column="content"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxzxkhgcsjVo">
|
||||
select id, faid, zbid, content, createuserid, create_time from tsbz_jxzxkhgcsj
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcsjList" parameterType="TsbzJxzxkhgcsj" resultMap="TsbzJxzxkhgcsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcsjVo"/>
|
||||
<where>
|
||||
<if test="faid != null ">and faid = #{faid}</if>
|
||||
<if test="zbid != null ">and zbid = #{zbid}</if>
|
||||
<if test="content != null and content != ''">and content = #{content}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcsjById" parameterType="String" resultMap="TsbzJxzxkhgcsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcsjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxzxkhgcsj" parameterType="TsbzJxzxkhgcsj">
|
||||
insert into tsbz_jxzxkhgcsj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="faid != null">faid,</if>
|
||||
<if test="zbid != null">zbid,</if>
|
||||
<if test="content != null">content,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="faid != null">#{faid},</if>
|
||||
<if test="zbid != null">#{zbid},</if>
|
||||
<if test="content != null">#{content},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxzxkhgcsj" parameterType="TsbzJxzxkhgcsj">
|
||||
update tsbz_jxzxkhgcsj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="faid != null">faid = #{faid},</if>
|
||||
<if test="zbid != null">zbid = #{zbid},</if>
|
||||
<if test="content != null">content = #{content},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcsjById" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcsj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcsjByIds" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcsj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.jxjs.mapper.TsbzJxzxkhgcwjsjMapper">
|
||||
|
||||
<resultMap type="TsbzJxzxkhgcwjsj" id="TsbzJxzxkhgcwjsjResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="gcid" column="gcid"/>
|
||||
<result property="filename" column="filename"/>
|
||||
<result property="filepath" column="filepath"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJxzxkhgcwjsjVo">
|
||||
select id, gcid, filename, filepath, createuserid, create_time from tsbz_jxzxkhgcwjsj
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcwjsjList" parameterType="TsbzJxzxkhgcwjsj" resultMap="TsbzJxzxkhgcwjsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcwjsjVo"/>
|
||||
<where>
|
||||
<if test="gcid != null and gcid != ''">and gcid = #{gcid}</if>
|
||||
<if test="filename != null and filename != ''">and filename like concat('%', #{filename}, '%')</if>
|
||||
<if test="filepath != null and filepath != ''">and filepath = #{filepath}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJxzxkhgcwjsjById" parameterType="Long" resultMap="TsbzJxzxkhgcwjsjResult">
|
||||
<include refid="selectTsbzJxzxkhgcwjsjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJxzxkhgcwjsj" parameterType="TsbzJxzxkhgcwjsj" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jxzxkhgcwjsj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="gcid != null">gcid,</if>
|
||||
<if test="filename != null">filename,</if>
|
||||
<if test="filepath != null">filepath,</if>
|
||||
<if test="createuserid != null">createuserid,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="gcid != null">#{gcid},</if>
|
||||
<if test="filename != null">#{filename},</if>
|
||||
<if test="filepath != null">#{filepath},</if>
|
||||
<if test="createuserid != null">#{createuserid},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJxzxkhgcwjsj" parameterType="TsbzJxzxkhgcwjsj">
|
||||
update tsbz_jxzxkhgcwjsj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="gcid != null">gcid = #{gcid},</if>
|
||||
<if test="filename != null">filename = #{filename},</if>
|
||||
<if test="filepath != null">filepath = #{filepath},</if>
|
||||
<if test="createuserid != null">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcwjsjById" parameterType="Long">
|
||||
delete from tsbz_jxzxkhgcwjsj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJxzxkhgcwjsjByIds" parameterType="String">
|
||||
delete from tsbz_jxzxkhgcwjsj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.jxjs.mapper.TsbzJzxzkhshMapper">
|
||||
|
||||
<resultMap type="TsbzJzxzkhsh" id="TsbzJzxzkhshResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="faid" column="faid"/>
|
||||
<result property="jsid" column="jsid"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="xjshr" column="xjshr"/>
|
||||
<result property="xjshyj" column="xjshyj"/>
|
||||
<result property="xjshjy" column="xjshjy"/>
|
||||
<result property="qjshr" column="qjshr"/>
|
||||
<result property="qjshyj" column="qjshyj"/>
|
||||
<result property="qjshjy" column="qjshjy"/>
|
||||
<result property="createuseird" column="createuseird"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTsbzJzxzkhshVo">
|
||||
select id, faid, jsid, status, xjshr, xjshyj, xjshjy, qjshr, qjshyj, qjshjy, createuseird, create_time from tsbz_jzxzkhsh
|
||||
</sql>
|
||||
|
||||
<select id="selectTsbzJzxzkhshList" parameterType="TsbzJzxzkhsh" resultMap="TsbzJzxzkhshResult">
|
||||
<include refid="selectTsbzJzxzkhshVo"/>
|
||||
<where>
|
||||
<if test="faid != null ">and faid = #{faid}</if>
|
||||
<if test="jsid != null ">and jsid = #{jsid}</if>
|
||||
<if test="status != null and status != ''">and status = #{status}</if>
|
||||
<if test="xjshr != null ">and xjshr = #{xjshr}</if>
|
||||
<if test="xjshyj != null and xjshyj != ''">and xjshyj = #{xjshyj}</if>
|
||||
<if test="xjshjy != null and xjshjy != ''">and xjshjy = #{xjshjy}</if>
|
||||
<if test="qjshr != null ">and qjshr = #{qjshr}</if>
|
||||
<if test="qjshyj != null and qjshyj != ''">and qjshyj = #{qjshyj}</if>
|
||||
<if test="qjshjy != null and qjshjy != ''">and qjshjy = #{qjshjy}</if>
|
||||
<if test="createuseird != null ">and createuseird = #{createuseird}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTsbzJzxzkhshById" parameterType="Long" resultMap="TsbzJzxzkhshResult">
|
||||
<include refid="selectTsbzJzxzkhshVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tsbz_jzxzkhsh
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">faid,</if>
|
||||
<if test="jsid != null">jsid,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="xjshr != null">xjshr,</if>
|
||||
<if test="xjshyj != null">xjshyj,</if>
|
||||
<if test="xjshjy != null">xjshjy,</if>
|
||||
<if test="qjshr != null">qjshr,</if>
|
||||
<if test="qjshyj != null">qjshyj,</if>
|
||||
<if test="qjshjy != null">qjshjy,</if>
|
||||
<if test="createuseird != null">createuseird,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="faid != null">#{faid},</if>
|
||||
<if test="jsid != null">#{jsid},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="xjshr != null">#{xjshr},</if>
|
||||
<if test="xjshyj != null">#{xjshyj},</if>
|
||||
<if test="xjshjy != null">#{xjshjy},</if>
|
||||
<if test="qjshr != null">#{qjshr},</if>
|
||||
<if test="qjshyj != null">#{qjshyj},</if>
|
||||
<if test="qjshjy != null">#{qjshjy},</if>
|
||||
<if test="createuseird != null">#{createuseird},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh">
|
||||
update tsbz_jzxzkhsh
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="faid != null">faid = #{faid},</if>
|
||||
<if test="jsid != null">jsid = #{jsid},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="xjshr != null">xjshr = #{xjshr},</if>
|
||||
<if test="xjshyj != null">xjshyj = #{xjshyj},</if>
|
||||
<if test="xjshjy != null">xjshjy = #{xjshjy},</if>
|
||||
<if test="qjshr != null">qjshr = #{qjshr},</if>
|
||||
<if test="qjshyj != null">qjshyj = #{qjshyj},</if>
|
||||
<if test="qjshjy != null">qjshjy = #{qjshjy},</if>
|
||||
<if test="createuseird != null">createuseird = #{createuseird},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTsbzJzxzkhshById" parameterType="Long">
|
||||
delete from tsbz_jzxzkhsh where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTsbzJzxzkhshByIds" parameterType="String">
|
||||
delete from tsbz_jzxzkhsh where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Loading…
x
Reference in New Issue
Block a user