package com.thhy.materials.modules.biz.concret.mapper;
|
|
import com.thhy.general.annotations.Idkey;
|
import com.thhy.materials.modules.biz.concret.entity.SysSteel;
|
import com.thhy.materials.modules.biz.concret.entity.SysSteelCorrection;
|
import com.thhy.materials.modules.biz.concret.entity.dto.RestDataByOneDto;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
@Mapper
|
public interface SysSteelMapper {
|
|
String steelNameAndModelByOne(@Param("steelName") String steelName,@Param("steelModel") String steelModel,@Param("companyId") String companyId);
|
|
void steelInsert(@Idkey("steelId") Map<String, Object> values);
|
|
List<SysSteel> steelList(Map<String, Object> values);
|
|
void steelDel(String steelId);
|
|
SysSteel steelInfo(String steelId);
|
|
void steelUpdate(Map<String, Object> values);
|
|
void steelStockUp(@Param("steelId") String steelId,@Param("correctionAfter") Double correctionAfter);
|
|
void steelCheckInsert(@Idkey("ids") Map<String, Object> values);
|
|
List<SysSteelCorrection> steelCheckList(Map<String, Object> values);
|
|
List<SysSteel> steelPull(String companyId);
|
|
List<String> steelCorrection(String steelId);
|
|
List<SysSteel> steelThingJsList(String companyId);
|
|
void steelAlertSettings(@Param("steelId") String steelId,@Param("alarmCount")Integer alarmCount);
|
|
/**
|
* web端预警弹窗
|
* @return
|
*/
|
List<SysSteel> selectsteelAlert();
|
|
RestDataByOneDto restDataByOne(String deviceId);
|
}
|