优化名称
This commit is contained in:
parent
598d72e8bc
commit
7228cbbeac
@ -40,7 +40,7 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
startPage();
|
||||
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJxzxkhshList(tsbzJxzxkhsh);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||
List<TsbzJxzxkhsh> list = tsbzJxzxkhshService.selectTsbzJxzxkhshList(tsbzJxzxkhsh);
|
||||
ExcelUtil<TsbzJxzxkhsh> util = new ExcelUtil<TsbzJxzxkhsh>(TsbzJxzxkhsh.class);
|
||||
return util.exportExcel(list, "jxzxkhsh");
|
||||
}
|
||||
@ -62,7 +62,7 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@PreAuthorize("@ss.hasPermi('jxzxkhgl:jxzxkhsh:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(tsbzJxzxkhshService.selectTsbzJzxzkhshById(id));
|
||||
return AjaxResult.success(tsbzJxzxkhshService.selectTsbzJxzxkhshById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -72,7 +72,7 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
return toAjax(tsbzJxzxkhshService.insertTsbzJzxzkhsh(tsbzJxzxkhsh));
|
||||
return toAjax(tsbzJxzxkhshService.insertTsbzJxzxkhsh(tsbzJxzxkhsh));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -82,7 +82,7 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
return toAjax(tsbzJxzxkhshService.updateTsbzJzxzkhsh(tsbzJxzxkhsh));
|
||||
return toAjax(tsbzJxzxkhshService.updateTsbzJxzxkhsh(tsbzJxzxkhsh));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -92,6 +92,6 @@ public class TsbzJxzxkhshController extends BaseController {
|
||||
@Log(title = "考核审核过程", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(tsbzJxzxkhshService.deleteTsbzJzxzkhshByIds(ids));
|
||||
return toAjax(tsbzJxzxkhshService.deleteTsbzJxzxkhshByIds(ids));
|
||||
}
|
||||
}
|
||||
|
@ -1,61 +1,61 @@
|
||||
package com.ruoyi.jxzxkhgl.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||
|
||||
/**
|
||||
* 考核审核过程Mapper接口
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
* @date 2020-09-01
|
||||
*/
|
||||
public interface TsbzJxzxkhshMapper {
|
||||
public interface TsbzJxzxkhshMapper
|
||||
{
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id);
|
||||
public TsbzJxzxkhsh selectTsbzJxzxkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 考核审核过程集合
|
||||
*/
|
||||
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public List<TsbzJxzxkhsh> selectTsbzJxzxkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public int insertTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public int updateTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 删除考核审核过程
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshById(Long id);
|
||||
public int deleteTsbzJxzxkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids);
|
||||
public int deleteTsbzJxzxkhshByIds(Long[] ids);
|
||||
}
|
||||
|
@ -1,61 +1,61 @@
|
||||
package com.ruoyi.jxzxkhgl.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.jxzxkhgl.domain.TsbzJxzxkhsh;
|
||||
|
||||
/**
|
||||
* 考核审核过程Service接口
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
* @date 2020-09-01
|
||||
*/
|
||||
public interface ITsbzJxzxkhshService {
|
||||
public interface ITsbzJxzxkhshService
|
||||
{
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id);
|
||||
public TsbzJxzxkhsh selectTsbzJxzxkhshById(Long id);
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 考核审核过程集合
|
||||
*/
|
||||
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public List<TsbzJxzxkhsh> selectTsbzJxzxkhshList(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public int insertTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
public int updateTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh);
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids);
|
||||
public int deleteTsbzJxzxkhshByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除考核审核过程信息
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTsbzJzxzkhshById(Long id);
|
||||
public int deleteTsbzJxzxkhshById(Long id);
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.ruoyi.jxzxkhgl.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@ -11,79 +10,86 @@ import com.ruoyi.jxzxkhgl.service.ITsbzJxzxkhshService;
|
||||
|
||||
/**
|
||||
* 考核审核过程Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2020-08-29
|
||||
* @date 2020-09-01
|
||||
*/
|
||||
@Service
|
||||
public class TsbzJxzxkhshServiceImpl implements ITsbzJxzxkhshService {
|
||||
public class TsbzJxzxkhshServiceImpl implements ITsbzJxzxkhshService
|
||||
{
|
||||
@Autowired
|
||||
private TsbzJxzxkhshMapper tsbzJxzxkhshMapper;
|
||||
|
||||
/**
|
||||
* 查询考核审核过程
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
@Override
|
||||
public TsbzJxzxkhsh selectTsbzJzxzkhshById(Long id) {
|
||||
return tsbzJxzxkhshMapper.selectTsbzJzxzkhshById(id);
|
||||
public TsbzJxzxkhsh selectTsbzJxzxkhshById(Long id)
|
||||
{
|
||||
return tsbzJxzxkhshMapper.selectTsbzJxzxkhshById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询考核审核过程列表
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 考核审核过程
|
||||
*/
|
||||
@Override
|
||||
public List<TsbzJxzxkhsh> selectTsbzJzxzkhshList(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
return tsbzJxzxkhshMapper.selectTsbzJzxzkhshList(tsbzJxzxkhsh);
|
||||
public List<TsbzJxzxkhsh> selectTsbzJxzxkhshList(TsbzJxzxkhsh tsbzJxzxkhsh)
|
||||
{
|
||||
return tsbzJxzxkhshMapper.selectTsbzJxzxkhshList(tsbzJxzxkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
public int insertTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh)
|
||||
{
|
||||
tsbzJxzxkhsh.setCreateTime(DateUtils.getNowDate());
|
||||
return tsbzJxzxkhshMapper.insertTsbzJzxzkhsh(tsbzJxzxkhsh);
|
||||
return tsbzJxzxkhshMapper.insertTsbzJxzxkhsh(tsbzJxzxkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改考核审核过程
|
||||
*
|
||||
*
|
||||
* @param tsbzJxzxkhsh 考核审核过程
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTsbzJzxzkhsh(TsbzJxzxkhsh tsbzJxzxkhsh) {
|
||||
return tsbzJxzxkhshMapper.updateTsbzJzxzkhsh(tsbzJxzxkhsh);
|
||||
public int updateTsbzJxzxkhsh(TsbzJxzxkhsh tsbzJxzxkhsh)
|
||||
{
|
||||
return tsbzJxzxkhshMapper.updateTsbzJxzxkhsh(tsbzJxzxkhsh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除考核审核过程
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJzxzkhshByIds(Long[] ids) {
|
||||
return tsbzJxzxkhshMapper.deleteTsbzJzxzkhshByIds(ids);
|
||||
public int deleteTsbzJxzxkhshByIds(Long[] ids)
|
||||
{
|
||||
return tsbzJxzxkhshMapper.deleteTsbzJxzxkhshByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除考核审核过程信息
|
||||
*
|
||||
*
|
||||
* @param id 考核审核过程ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTsbzJzxzkhshById(Long id) {
|
||||
return tsbzJxzxkhshMapper.deleteTsbzJzxzkhshById(id);
|
||||
public int deleteTsbzJxzxkhshById(Long id)
|
||||
{
|
||||
return tsbzJxzxkhshMapper.deleteTsbzJxzxkhshById(id);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user