package com.mes.damage.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.github.yulichang.base.MPJBaseService;
|
import com.mes.damage.entity.Damage;
|
import com.mes.damage.entity.DamagePrint;
|
import com.mes.pp.entity.ReportingWork;
|
import com.mes.pp.entity.ReportingWorkDetail;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 服务类
|
* </p>
|
*
|
* @author wu
|
* @since 2024-06-13
|
*/
|
public interface DamageService extends MPJBaseService<Damage> {
|
|
List<Damage> selectDamage(String startTime, String endTime, int type, int status, String workingProcedure);
|
|
void submitDamage(List<Damage> damageList);
|
|
void submitReport(Damage damage);
|
|
/**
|
* 单个破损
|
*
|
* @param damage
|
*/
|
void insertDamage(Damage damage);
|
|
/**
|
* 批量破损
|
*
|
* @param damageList
|
*/
|
void batchInsertDamage(List<Damage> damageList);
|
|
List<DamagePrint> selectDamagePrint(Damage damage);
|
|
List<DamagePrint> selectDamagePrintDetails(Damage damage);
|
|
void deleteByGlassId(String glassId);
|
|
void sendToERP(ReportingWork reportingWork, List<ReportingWorkDetail> reportingWorkDetails);
|
}
|