优化名称

This commit is contained in:
sk1551
2020-09-01 10:09:31 +08:00
parent 598d72e8bc
commit 7228cbbeac
4 changed files with 66 additions and 60 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}
}