12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- package com.yijia.system.service.impl;
- import com.yijia.common.core.domain.entity.ShiftClass;
- import com.yijia.system.mapper.ShiftMaskMapper;
- import com.yijia.system.service.IShiftMaskService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.stereotype.Service;
- import java.util.List;
- /**
- * 油站信息Service业务层处理
- *
- * @author qujia
- * @date 2020-12-08
- */
- @Service
- public class ShiftMaskServiceImpl implements IShiftMaskService
- {
- @Autowired
- private ShiftMaskMapper shiftMaskMapper;
- /**
- * 查询班次信息
- *
- * @param shiftClassId 班次信息ID
- * @return 班次信息
- */
- public ShiftClass selectShiftClassById(Long shiftClassId){
- return shiftMaskMapper.selectShiftClassById(shiftClassId);
- }
- /**
- * 查询班次信息
- *
- * @param shiftClass 等级信息
- * @return 班次信息集合
- */
- public List<ShiftClass> selectShiftClassList(ShiftClass shiftClass){
- return shiftMaskMapper.selectShiftClassList(shiftClass);
- }
- /**
- * 新增班次信息
- *
- * @param shiftClass 班次信息
- * @return 结果
- */
- public int insertShiftClass(ShiftClass shiftClass){
- return shiftMaskMapper.insertShiftClass(shiftClass);
- }
- /**
- * 修改班次信息
- *
- * @param shiftClass 班次信息
- * @return 结果
- */
- public int updateShiftClass(ShiftClass shiftClass){
- return shiftMaskMapper.updateShiftClass(shiftClass);
- }
- /**
- * 删除班次信息
- *
- * @param shiftClassId 班次信息ID
- * @return 结果
- */
- public int deleteShiftClassById(Long shiftClassId){
- return shiftMaskMapper.deleteShiftClassById(shiftClassId);
- }
- /**
- * 批量删除班次信息
- *
- * @param shiftClassIds 需要删除的数据ID
- * @return 结果
- */
- public int deleteShiftClassByIds(Long[] shiftClassIds){
- return shiftMaskMapper.deleteShiftClassByIds(shiftClassIds);
- }
- }
|