为双机架完成轧辊,质量,模型等内容

This commit is contained in:
2026-05-28 16:16:49 +08:00
parent 91fc8b6e38
commit 80d33d9a3b
69 changed files with 7788 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.EqpEquipmentChecklist;
import java.util.List;
public interface EqpEquipmentChecklistMapper {
List<EqpEquipmentChecklist> selectEqpChecklistList(EqpEquipmentChecklist checklist);
EqpEquipmentChecklist selectEqpChecklistByCheckId(Long checkId);
int insertEqpChecklist(EqpEquipmentChecklist checklist);
int updateEqpChecklist(EqpEquipmentChecklist checklist);
int deleteEqpChecklistByCheckId(Long checkId);
int deleteEqpChecklistByCheckIds(Long[] checkIds);
}

View File

@@ -0,0 +1,20 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.EqpEquipmentInspectionRecord;
import java.util.List;
public interface EqpEquipmentInspectionRecordMapper {
List<EqpEquipmentInspectionRecord> selectEqpInspectionRecordList(EqpEquipmentInspectionRecord record);
EqpEquipmentInspectionRecord selectEqpInspectionRecordByRecordId(Long recordId);
int insertEqpInspectionRecord(EqpEquipmentInspectionRecord record);
int updateEqpInspectionRecord(EqpEquipmentInspectionRecord record);
int deleteEqpInspectionRecordByRecordId(Long recordId);
int deleteEqpInspectionRecordByRecordIds(Long[] recordIds);
}

View File

@@ -0,0 +1,20 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.EqpEquipmentPart;
import java.util.List;
public interface EqpEquipmentPartMapper {
List<EqpEquipmentPart> selectEqpPartList(EqpEquipmentPart part);
EqpEquipmentPart selectEqpPartByPartId(Long partId);
int insertEqpPart(EqpEquipmentPart part);
int updateEqpPart(EqpEquipmentPart part);
int deleteEqpPartByPartId(Long partId);
int deleteEqpPartByPartIds(Long[] partIds);
}

View File

@@ -0,0 +1,11 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.KlpCoilInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface KlpCoilMapper {
/** 根据入场钢卷号或当前钢卷号查询钢卷基础信息 */
KlpCoilInfo selectByCoilNo(@Param("coilNo") String coilNo);
}

View File

@@ -0,0 +1,24 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.MesRollGrind;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
public interface MesRollGrindMapper {
List<MesRollGrind> selectMesRollGrindList(MesRollGrind grind);
List<MesRollGrind> selectMesRollGrindByRollId(@Param("rollId") Long rollId);
MesRollGrind selectMesRollGrindById(Long grindId);
int insertMesRollGrind(MesRollGrind grind);
int updateMesRollGrind(MesRollGrind grind);
int deleteMesRollGrindById(Long grindId);
List<Map<String, Object>> selectMonthlyStats(@Param("rollId") Long rollId, @Param("year") int year);
}

View File

@@ -0,0 +1,37 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.MesRollInfo;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
public interface MesRollInfoMapper {
List<MesRollInfo> selectMesRollInfoList(MesRollInfo rollInfo);
MesRollInfo selectMesRollInfoById(Long rollId);
MesRollInfo selectMesRollInfoByRollNo(@Param("rollNo") String rollNo);
int insertMesRollInfo(MesRollInfo rollInfo);
int updateMesRollInfo(MesRollInfo rollInfo);
int deleteMesRollInfoById(Long rollId);
int deleteMesRollInfoByIds(Long[] rollIds);
List<Map<String, Object>> selectStatusStats(@Param("lineId") Long lineId);
List<String> selectRollNoList(@Param("lineId") Long lineId,
@Param("rollType") String rollType,
@Param("status") String status);
int updateStatusByRollNo(@Param("rollNo") String rollNo, @Param("status") String status);
int incrementGrindCount(@Param("rollId") Long rollId, @Param("diaAfter") BigDecimal diaAfter);
int updateCurrentDia(@Param("rollId") Long rollId, @Param("currentDia") BigDecimal currentDia);
}

View File

@@ -0,0 +1,22 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.QcInspectionItem;
import java.util.List;
public interface QcInspectionItemMapper {
List<QcInspectionItem> selectQcInspectionItemList(QcInspectionItem item);
List<QcInspectionItem> selectQcInspectionItemByTaskId(Long taskId);
QcInspectionItem selectQcInspectionItemById(Long itemId);
int insertQcInspectionItem(QcInspectionItem item);
int updateQcInspectionItem(QcInspectionItem item);
int deleteQcInspectionItemById(Long itemId);
int deleteQcInspectionItemByTaskId(Long taskId);
}

View File

@@ -0,0 +1,30 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.QcInspectionTask;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface QcInspectionTaskMapper {
List<QcInspectionTask> selectQcInspectionTaskList(QcInspectionTask task);
List<QcInspectionTask> selectQcInspectionTaskListByCoilIds(@Param("task") QcInspectionTask task,
@Param("coilIds") List<Long> coilIds);
QcInspectionTask selectQcInspectionTaskById(Long taskId);
int insertQcInspectionTask(QcInspectionTask task);
int updateQcInspectionTask(QcInspectionTask task);
int deleteQcInspectionTaskById(Long taskId);
int deleteQcInspectionTaskByIds(Long[] taskIds);
/** 获取所有 processed_coil_ids 字符串(来自双机架 action 类型) */
List<String> selectDoubleRackProcessedCoilIds(@Param("actionTypes") List<Integer> actionTypes);
/** 按 coilId 列表查询钢卷基本信息coilId + current_coil_no */
List<java.util.Map<String, Object>> selectCoilInfoByIds(@Param("coilIds") List<Long> coilIds);
}

View File

@@ -0,0 +1,24 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.WmsCoilAbnormal;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface WmsCoilAbnormalMapper {
List<WmsCoilAbnormal> selectWmsCoilAbnormalList(WmsCoilAbnormal abnormal);
List<WmsCoilAbnormal> selectWmsCoilAbnormalListByCoilIds(@Param("abnormal") WmsCoilAbnormal abnormal,
@Param("coilIds") List<Long> coilIds);
WmsCoilAbnormal selectWmsCoilAbnormalById(Long abnormalId);
int insertWmsCoilAbnormal(WmsCoilAbnormal abnormal);
int updateWmsCoilAbnormal(WmsCoilAbnormal abnormal);
int deleteWmsCoilAbnormalById(Long abnormalId);
int deleteWmsCoilAbnormalByIds(Long[] abnormalIds);
}