见习之星考核
This commit is contained in:
@ -16,8 +16,8 @@ import com.ruoyi.common.annotation.Log;
|
|||||||
import com.ruoyi.common.core.controller.BaseController;
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
import com.ruoyi.common.enums.BusinessType;
|
import com.ruoyi.common.enums.BusinessType;
|
||||||
import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||||
import com.ruoyi.jxzxkhgl.service.ITsbzJzxzkhshService;
|
import com.ruoyi.jxzxkhgl.service.ITsbzJxzxkhshService;
|
||||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||||
import com.ruoyi.common.core.page.TableDataInfo;
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
|
||||||
@ -28,70 +28,70 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|||||||
* @date 2020-08-29
|
* @date 2020-08-29
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/jxzxkhgl/jzxzkhsh")
|
@RequestMapping("/jxzxkhgl/jxzxkhsh")
|
||||||
public class TsbzJzxzkhshController extends BaseController {
|
public class TsbzJxzxkhshController extends BaseController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ITsbzJzxzkhshService tsbzJzxzkhshService;
|
private ITsbzJxzxkhshService tsbzJxzxkhshService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程列表
|
* 查询考核审核过程列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:list')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public TableDataInfo list(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
startPage();
|
startPage();
|
||||||
List<TsbzJzxzkhsh> list = tsbzJzxzkhshService.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 导出考核审核过程列表
|
* 导出考核审核过程列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:export')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:export')")
|
||||||
@Log(title = "考核审核过程", businessType = BusinessType.EXPORT)
|
@Log(title = "考核审核过程", businessType = BusinessType.EXPORT)
|
||||||
@GetMapping("/export")
|
@GetMapping("/export")
|
||||||
public AjaxResult export(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public AjaxResult export(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
List<TsbzJzxzkhsh> list = tsbzJzxzkhshService.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||||
ExcelUtil<TsbzJzxzkhsh> util = new ExcelUtil<TsbzJzxzkhsh>(TsbzJzxzkhsh.class);
|
ExcelUtil<TsbzJxzxkhsh> util = new ExcelUtil<TsbzJxzxkhsh>(TsbzJxzxkhsh.class);
|
||||||
return util.exportExcel(list, "jzxzkhsh");
|
return util.exportExcel(list, "jxzxkhsh");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取考核审核过程详细信息
|
* 获取考核审核过程详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:query')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||||
return AjaxResult.success(tsbzJzxzkhshService.selectTsbzJzxzkhshById(id));
|
return AjaxResult.success(tsbzJxzxkhshService.selectTsbzJzxzkhshById(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增考核审核过程
|
* 新增考核审核过程
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:add')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:add')")
|
||||||
@Log(title = "考核审核过程", businessType = BusinessType.INSERT)
|
@Log(title = "考核审核过程", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public AjaxResult add(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
return toAjax(tsbzJzxzkhshService.insertTsbzJzxzkhsh(tsbzJzxzkhsh));
|
return toAjax(tsbzJxzxkhshService.insertTsbzJzxzkhsh(tsbzJxzxkhsh));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改考核审核过程
|
* 修改考核审核过程
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:edit')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:edit')")
|
||||||
@Log(title = "考核审核过程", businessType = BusinessType.UPDATE)
|
@Log(title = "考核审核过程", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public AjaxResult edit(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
return toAjax(tsbzJzxzkhshService.updateTsbzJzxzkhsh(tsbzJzxzkhsh));
|
return toAjax(tsbzJxzxkhshService.updateTsbzJzxzkhsh(tsbzJxzxkhsh));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除考核审核过程
|
* 删除考核审核过程
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jzxzkhsh:remove')")
|
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:remove')")
|
||||||
@Log(title = "考核审核过程", businessType = BusinessType.DELETE)
|
@Log(title = "考核审核过程", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||||
return toAjax(tsbzJzxzkhshService.deleteTsbzJzxzkhshByIds(ids));
|
return toAjax(tsbzJxzxkhshService.deleteTsbzJzxzkhshByIds(ids));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
|||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
* @date 2020-08-29
|
* @date 2020-08-29
|
||||||
*/
|
*/
|
||||||
public class TsbzJzxzkhsh extends BaseEntity {
|
public class TsbzJxzxkhsh extends BaseEntity {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
@ -2,7 +2,7 @@ package com.ruoyi.jxzxkhgl.mapper;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考核审核过程Mapper接口
|
* 考核审核过程Mapper接口
|
||||||
@ -10,38 +10,38 @@ import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
|||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
* @date 2020-08-29
|
* @date 2020-08-29
|
||||||
*/
|
*/
|
||||||
public interface TsbzJzxzkhshMapper {
|
public interface TsbzJxzxkhshMapper {
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程
|
* 查询考核审核过程
|
||||||
*
|
*
|
||||||
* @param id 考核审核过程ID
|
* @param id 考核审核过程ID
|
||||||
* @return 考核审核过程
|
* @return 考核审核过程
|
||||||
*/
|
*/
|
||||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id);
|
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程列表
|
* 查询考核审核过程列表
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 考核审核过程集合
|
* @return 考核审核过程集合
|
||||||
*/
|
*/
|
||||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增考核审核过程
|
* 新增考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改考核审核过程
|
* 修改考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除考核审核过程
|
* 删除考核审核过程
|
@ -2,7 +2,7 @@ package com.ruoyi.jxzxkhgl.service;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考核审核过程Service接口
|
* 考核审核过程Service接口
|
||||||
@ -10,38 +10,38 @@ import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
|||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
* @date 2020-08-29
|
* @date 2020-08-29
|
||||||
*/
|
*/
|
||||||
public interface ITsbzJzxzkhshService {
|
public interface ITsbzJxzxkhshService {
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程
|
* 查询考核审核过程
|
||||||
*
|
*
|
||||||
* @param id 考核审核过程ID
|
* @param id 考核审核过程ID
|
||||||
* @return 考核审核过程
|
* @return 考核审核过程
|
||||||
*/
|
*/
|
||||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id);
|
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程列表
|
* 查询考核审核过程列表
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 考核审核过程集合
|
* @return 考核审核过程集合
|
||||||
*/
|
*/
|
||||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增考核审核过程
|
* 新增考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改考核审核过程
|
* 修改考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh);
|
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除考核审核过程
|
* 批量删除考核审核过程
|
@ -5,9 +5,9 @@ import java.util.List;
|
|||||||
import com.ruoyi.common.utils.DateUtils;
|
import com.ruoyi.common.utils.DateUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import com.ruoyi.jxzxkhgl.mapper.TsbzJzxzkhshMapper;
|
import com.ruoyi.jxzxkhgl.mapper.TsbzJxzxkhshMapper;
|
||||||
import com.ruoyi.jxzxkhgl.domain.TsbzJzxzkhsh;
|
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||||
import com.ruoyi.jxzxkhgl.service.ITsbzJzxzkhshService;
|
import com.ruoyi.jxzxkhgl.service.ITsbzJxzxkhshService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考核审核过程Service业务层处理
|
* 考核审核过程Service业务层处理
|
||||||
@ -16,9 +16,9 @@ import com.ruoyi.jxzxkhgl.service.ITsbzJzxzkhshService;
|
|||||||
* @date 2020-08-29
|
* @date 2020-08-29
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class TsbzJzxzkhshServiceImpl implements ITsbzJzxzkhshService {
|
public class TsbzJxzxkhshServiceImpl implements ITsbzJxzxkhshService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private TsbzJzxzkhshMapper tsbzJzxzkhshMapper;
|
private TsbzJxzxkhshMapper tsbzJxzxkhshMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程
|
* 查询考核审核过程
|
||||||
@ -27,42 +27,42 @@ public class TsbzJzxzkhshServiceImpl implements ITsbzJzxzkhshService {
|
|||||||
* @return 考核审核过程
|
* @return 考核审核过程
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public TsbzJzxzkhsh selectTsbzJzxzkhshById(Long id) {
|
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id) {
|
||||||
return tsbzJzxzkhshMapper.selectTsbzJzxzkhshById(id);
|
return tsbzJxzxkhshMapper.selectTsbzJzxzkhshById(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询考核审核过程列表
|
* 查询考核审核过程列表
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 考核审核过程
|
* @return 考核审核过程
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<TsbzJzxzkhsh> selectTsbzJzxzkhshList(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
return tsbzJzxzkhshMapper.selectTsbzJzxzkhshList(tsbzJzxzkhsh);
|
return tsbzJxzxkhshMapper.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新增考核审核过程
|
* 新增考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int insertTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
tsbzJzxzkhsh.setCreateTime(DateUtils.getNowDate());
|
tsbzJxzxkhsh.setCreateTime(DateUtils.getNowDate());
|
||||||
return tsbzJzxzkhshMapper.insertTsbzJzxzkhsh(tsbzJzxzkhsh);
|
return tsbzJxzxkhshMapper.insertTsbzJzxzkhsh(tsbzJxzxkhsh);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改考核审核过程
|
* 修改考核审核过程
|
||||||
*
|
*
|
||||||
* @param tsbzJzxzkhsh 考核审核过程
|
* @param tsbzJxzxkhsh 考核审核过程
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int updateTsbzJzxzkhsh(TsbzJzxzkhsh tsbzJzxzkhsh) {
|
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||||
return tsbzJzxzkhshMapper.updateTsbzJzxzkhsh(tsbzJzxzkhsh);
|
return tsbzJxzxkhshMapper.updateTsbzJzxzkhsh(tsbzJxzxkhsh);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -73,7 +73,7 @@ public class TsbzJzxzkhshServiceImpl implements ITsbzJzxzkhshService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteTsbzJzxzkhshByIds(Long[] ids) {
|
public int deleteTsbzJzxzkhshByIds(Long[] ids) {
|
||||||
return tsbzJzxzkhshMapper.deleteTsbzJzxzkhshByIds(ids);
|
return tsbzJxzxkhshMapper.deleteTsbzJzxzkhshByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -84,6 +84,6 @@ public class TsbzJzxzkhshServiceImpl implements ITsbzJzxzkhshService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteTsbzJzxzkhshById(Long id) {
|
public int deleteTsbzJzxzkhshById(Long id) {
|
||||||
return tsbzJzxzkhshMapper.deleteTsbzJzxzkhshById(id);
|
return tsbzJxzxkhshMapper.deleteTsbzJzxzkhshById(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,9 +2,9 @@
|
|||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.ruoyi.jxzxkhgl.mapper.TsbzJzxzkhshMapper">
|
<mapper namespace="com.ruoyi.jxzxkhgl.mapper.TsbzJxzxkhshMapper">
|
||||||
|
|
||||||
<resultMap type="TsbzJzxzkhsh" id="TsbzJzxzkhshResult">
|
<resultMap type="TsbzJxzxkhsh" id="TsbzJxzxkhshResult">
|
||||||
<result property="id" column="id"/>
|
<result property="id" column="id"/>
|
||||||
<result property="faid" column="faid"/>
|
<result property="faid" column="faid"/>
|
||||||
<result property="jsid" column="jsid"/>
|
<result property="jsid" column="jsid"/>
|
||||||
@ -19,33 +19,36 @@
|
|||||||
<result property="createTime" column="create_time"/>
|
<result property="createTime" column="create_time"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectTsbzJzxzkhshVo">
|
<sql id="selectTsbzJxzxkhshVo">
|
||||||
select id, faid, jsid, status, xjshr, xjshyj, xjshjy, qjshr, qjshyj, qjshjy, createuseird, create_time from tsbz_jzxzkhsh
|
select d.* from tsbz_jxzxmd a
|
||||||
|
left join tsbz_jxjsjbxx b on b.id=a.jsid
|
||||||
|
left join sys_dept c on b.prdwid=c.schoolid
|
||||||
|
left join tsbz_jxzxkhsh d on a.jsid=d.jsid
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectTsbzJzxzkhshList" parameterType="TsbzJzxzkhsh" resultMap="TsbzJzxzkhshResult">
|
<select id="selectTsbzJxzxkhshList" parameterType="TsbzJxzxkhsh" resultMap="TsbzJxzxkhshResult">
|
||||||
<include refid="selectTsbzJzxzkhshVo"/>
|
<include refid="selectTsbzJxzxkhshVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="faid != null ">and faid = #{faid}</if>
|
<if test="faid != null ">and d.faid = #{faid}</if>
|
||||||
<if test="jsid != null ">and jsid = #{jsid}</if>
|
<if test="jsid != null ">and d.jsid = #{jsid}</if>
|
||||||
<if test="status != null and status != ''">and status = #{status}</if>
|
<if test="status != null and status != ''">and d.status = #{status}</if>
|
||||||
<if test="xjshr != null ">and xjshr = #{xjshr}</if>
|
<if test="xjshr != null ">and d.xjshr = #{xjshr}</if>
|
||||||
<if test="xjshyj != null and xjshyj != ''">and xjshyj = #{xjshyj}</if>
|
<if test="xjshyj != null and xjshyj != ''">and d.xjshyj = #{xjshyj}</if>
|
||||||
<if test="xjshjy != null and xjshjy != ''">and xjshjy = #{xjshjy}</if>
|
<if test="xjshjy != null and xjshjy != ''">and d.xjshjy = #{xjshjy}</if>
|
||||||
<if test="qjshr != null ">and qjshr = #{qjshr}</if>
|
<if test="qjshr != null ">and d.qjshr = #{qjshr}</if>
|
||||||
<if test="qjshyj != null and qjshyj != ''">and qjshyj = #{qjshyj}</if>
|
<if test="qjshyj != null and qjshyj != ''">and d.qjshyj = #{qjshyj}</if>
|
||||||
<if test="qjshjy != null and qjshjy != ''">and qjshjy = #{qjshjy}</if>
|
<if test="qjshjy != null and qjshjy != ''">and d.qjshjy = #{qjshjy}</if>
|
||||||
<if test="createuseird != null ">and createuseird = #{createuseird}</if>
|
<if test="createuseird != null ">and d.createuseird = #{createuseird}</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectTsbzJzxzkhshById" parameterType="Long" resultMap="TsbzJzxzkhshResult">
|
<select id="selectTsbzJxzxkhshById" parameterType="Long" resultMap="TsbzJxzxkhshResult">
|
||||||
<include refid="selectTsbzJzxzkhshVo"/>
|
<include refid="selectTsbzJxzxkhshVo"/>
|
||||||
where id = #{id}
|
where d.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh" useGeneratedKeys="true" keyProperty="id">
|
<insert id="insertTsbzJxzxkhsh" parameterType="TsbzJxzxkhsh" useGeneratedKeys="true" keyProperty="id">
|
||||||
insert into tsbz_jzxzkhsh
|
insert into tsbz_jxzxkhsh
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="faid != null">faid,</if>
|
<if test="faid != null">faid,</if>
|
||||||
<if test="jsid != null">jsid,</if>
|
<if test="jsid != null">jsid,</if>
|
||||||
@ -74,8 +77,8 @@
|
|||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateTsbzJzxzkhsh" parameterType="TsbzJzxzkhsh">
|
<update id="updateTsbzJxzxkhsh" parameterType="TsbzJxzxkhsh">
|
||||||
update tsbz_jzxzkhsh
|
update tsbz_jxzxkhsh
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<if test="faid != null">faid = #{faid},</if>
|
<if test="faid != null">faid = #{faid},</if>
|
||||||
<if test="jsid != null">jsid = #{jsid},</if>
|
<if test="jsid != null">jsid = #{jsid},</if>
|
||||||
@ -92,12 +95,12 @@
|
|||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteTsbzJzxzkhshById" parameterType="Long">
|
<delete id="deleteTsbzJxzxkhshById" parameterType="Long">
|
||||||
delete from tsbz_jzxzkhsh where id = #{id}
|
delete from tsbz_jxzxkhsh where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteTsbzJzxzkhshByIds" parameterType="String">
|
<delete id="deleteTsbzJxzxkhshByIds" parameterType="String">
|
||||||
delete from tsbz_jzxzkhsh where id in
|
delete from tsbz_jxzxkhsh where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||||||
// 查询考核审核过程列表
|
// 查询考核审核过程列表
|
||||||
export function listJzxzkhsh(query) {
|
export function listJzxzkhsh(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh/list',
|
url: '/jxzxkhgl/jxzxkhsh/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
@ -12,7 +12,7 @@ export function listJzxzkhsh(query) {
|
|||||||
// 查询考核审核过程详细
|
// 查询考核审核过程详细
|
||||||
export function getJzxzkhsh(id) {
|
export function getJzxzkhsh(id) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh/' + id,
|
url: '/jxzxkhgl/jxzxkhsh/' + id,
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -20,7 +20,7 @@ export function getJzxzkhsh(id) {
|
|||||||
// 新增考核审核过程
|
// 新增考核审核过程
|
||||||
export function addJzxzkhsh(data) {
|
export function addJzxzkhsh(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh',
|
url: '/jxzxkhgl/jxzxkhsh',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
@ -29,7 +29,7 @@ export function addJzxzkhsh(data) {
|
|||||||
// 修改考核审核过程
|
// 修改考核审核过程
|
||||||
export function updateJzxzkhsh(data) {
|
export function updateJzxzkhsh(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh',
|
url: '/jxzxkhgl/jxzxkhsh',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
@ -38,7 +38,7 @@ export function updateJzxzkhsh(data) {
|
|||||||
// 删除考核审核过程
|
// 删除考核审核过程
|
||||||
export function delJzxzkhsh(id) {
|
export function delJzxzkhsh(id) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh/' + id,
|
url: '/jxzxkhgl/jxzxkhsh/' + id,
|
||||||
method: 'delete'
|
method: 'delete'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -46,7 +46,7 @@ export function delJzxzkhsh(id) {
|
|||||||
// 导出考核审核过程
|
// 导出考核审核过程
|
||||||
export function exportJzxzkhsh(query) {
|
export function exportJzxzkhsh(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/jxzxkhgl/jzxzkhsh/export',
|
url: '/jxzxkhgl/jxzxkhsh/export',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
@ -89,7 +89,7 @@
|
|||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:add']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:add']"
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -99,7 +99,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="single"
|
||||||
@click="handleUpdate"
|
@click="handleUpdate"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:edit']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:edit']"
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -109,7 +109,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
@click="handleDelete"
|
@click="handleDelete"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:remove']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -118,7 +118,7 @@
|
|||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:export']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:export']"
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
@ -144,14 +144,14 @@
|
|||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:edit']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:edit']"
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:remove']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -229,7 +229,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listJzxzkhsh, getJzxzkhsh, delJzxzkhsh, addJzxzkhsh, updateJzxzkhsh, exportJzxzkhsh } from "@/api/jxzxkhgl/jzxzkhsh";
|
import { listJzxzkhsh, getJzxzkhsh, delJzxzkhsh, addJzxzkhsh, updateJzxzkhsh, exportJzxzkhsh } from "@/api/jxzxkhgl/jxzxkhsh";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Jzxzkhsh",
|
name: "Jzxzkhsh",
|
@ -89,7 +89,7 @@
|
|||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:add']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:add']"
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -99,7 +99,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="single"
|
||||||
@click="handleUpdate"
|
@click="handleUpdate"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:edit']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:edit']"
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -109,7 +109,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
@click="handleDelete"
|
@click="handleDelete"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:remove']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
@ -118,7 +118,7 @@
|
|||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:export']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:export']"
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
@ -144,14 +144,14 @@
|
|||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:edit']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:edit']"
|
||||||
>修改</el-button>
|
>修改</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['jxzxkhgl:jzxzkhsh:remove']"
|
v-hasPermi="['jxzxkhgl:jxzxkhsh:remove']"
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -229,7 +229,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listJzxzkhsh, getJzxzkhsh, delJzxzkhsh, addJzxzkhsh, updateJzxzkhsh, exportJzxzkhsh } from "@/api/jxzxkhgl/jzxzkhsh";
|
import { listJzxzkhsh, getJzxzkhsh, delJzxzkhsh, addJzxzkhsh, updateJzxzkhsh, exportJzxzkhsh } from "@/api/jxzxkhgl/jxzxkhsh";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Jzxzkhsh",
|
name: "Jzxzkhsh",
|
Reference in New Issue
Block a user