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.SysSteelRecord;
|
import com.thhy.materials.modules.biz.concret.entity.dto.SteelStatisticsDto;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
@Mapper
|
public interface SysSteelRecordMapper {
|
|
Double steelSelectStock(String steelId);
|
|
void steelStockUpdate(@Param("steelId") String steelId,@Param("stock") double stock);
|
|
void recordInsert(@Idkey("id") HashMap<String, Object> values);
|
|
List<SysSteelRecord> recordList(Map<String, Object> values);
|
|
void recordDel(String id);
|
|
SysSteelRecord recordInfo(String id);
|
|
void updateStockSteelId(@Param("steelId") String steelId,@Param("stocks") double stockss);
|
|
List<String> supplierPull(String companyId);
|
|
String supplierIdSelect(String supplierName);
|
|
SysSteel steelNameAndSteelModelSelectSteelId(@Param("steelName") String steelName, @Param("steelModel") String steelModel);
|
|
List<SteelStatisticsDto> recordStatisticsDay(Map<String, Object> values);
|
|
List<SteelStatisticsDto> recordStatisticsMonth(Map<String, Object> values);
|
|
List<SteelStatisticsDto> recordSumDay(Map<String, Object> values);
|
|
List<SteelStatisticsDto> recordSumMonth(Map<String, Object> values);
|
|
List<SysSteel> steelPull(Map<String, Object> values);
|
|
List<SysSteelRecord> recordThingJsList(String companyId);
|
}
|