张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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);
}