zhangnaisong
2024-07-29 79d24d16b133a07a1a7cd887348683be6d8c8ef3
ard-work/src/main/java/com/ruoyi/sy/mapper/ArdSyCarMapper.java
@@ -1,6 +1,9 @@
package com.ruoyi.sy.mapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.sy.domain.ArdSyCar;
import org.apache.ibatis.annotations.Param;
@@ -10,7 +13,7 @@
 * @author ard
 * @date 2023-06-26
 */
public interface ArdSyCarMapper
public interface ArdSyCarMapper extends BaseMapper<ArdSyCar>
{
    /**
     * 查询三一车辆
@@ -76,4 +79,19 @@
     * @return
     */
    List<ArdSyCar> carListById(String id);
    /**
     * 根据车辆id查询三一车辆及对应部门
     */
    public Map<String, Object> getArdSyCarAndDeptByCarId(String carId);
    public List<String> selectArdSyCarByDeptIds(@Param("deptIdList") List<Long> deptIdList);
    public ArdSyCar getArdSyTankCarByCarId(String carId);
    public long getCountByCarIdList(@Param("carIdList") List<String> carIdList);
    public List<ArdSyCar> getCarListByDeptIdList(@Param("deptIdList") List<Long> deptIdList);
    public List<ArdSyCar> selectArdSyCarAndTankLockByUserId(String userId);
}