/**
* 设置邮件模板块中:物料编码 相关的几个集合块
*/
private EmailEIP getEmailEIPAboutCodes(EmailEIP emailEIP, String[] str)
{
if (str[30].startsWith("0511") || str[30].startsWith("5016"))
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCode05115016().add(item);
}
else if (str[30].startsWith("8001"))
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCode8001().add(item);
}
else
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCodeOthers().add(item);
}
return emailEIP;
}
* 设置邮件模板块中:物料编码 相关的几个集合块
*/
private EmailEIP getEmailEIPAboutCodes(EmailEIP emailEIP, String[] str)
{
if (str[30].startsWith("0511") || str[30].startsWith("5016"))
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCode05115016().add(item);
}
else if (str[30].startsWith("8001"))
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCode8001().add(item);
}
else
{
ItemEIP item = new ItemEIP();
item.setItemCode(str[30]);
item.setItemDecEng(str[31]);
item.setQty(str[32]);
item.setPackingInstructions(str[33]);
emailEIP.getCodeOthers().add(item);
}
return emailEIP;
}