|
|
|
@ -9,6 +9,7 @@ import cn.estsh.i3plus.pojo.mes.bean.*;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.bean.template.BasImportTemplate;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.bean.template.BasImportTemplateDetails;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.dbinterface.MesInterfaceDataMapper;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.engine.script.EngineScriptPersistence;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.model.MgnPaintPolishingReportModel;
|
|
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
@ -3843,4 +3844,17 @@ public class MesHqlPack {
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(mesFailureModeParts.getIsValid(), "isValid", packBean);
|
|
|
|
|
return packBean;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static DdlPackBean packEngineScriptPersistence(EngineScriptPersistence scriptPersistence) {
|
|
|
|
|
DdlPackBean packBean = new DdlPackBean();
|
|
|
|
|
DdlPreparedPack.getStringLikerPack(scriptPersistence.getScriptNo(), "scriptNo", packBean);
|
|
|
|
|
DdlPreparedPack.getStringRightLikerPack(scriptPersistence.getScriptName(), "scriptName", packBean);
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(scriptPersistence.getScriptType(), "scriptType", packBean);
|
|
|
|
|
DdlPreparedPack.getNumEqualPack(scriptPersistence.getLanguageType(), "languageType", packBean);
|
|
|
|
|
|
|
|
|
|
getStringBuilderPack(scriptPersistence, packBean);
|
|
|
|
|
|
|
|
|
|
DdlPreparedPack.getOrderByPack(new Object[]{2}, new String[]{"createDatetime"}, packBean);
|
|
|
|
|
return packBean;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|