This commit is contained in:
Van0313
2025-06-08 19:21:19 +08:00
parent 650c030b13
commit 65f726e33d
2 changed files with 21 additions and 1 deletions

View File

@@ -2208,6 +2208,26 @@ public class JDUtil {
}
wxUtil.sendTextMessage(fromWxid, info, 1, null, true);
wxUtil.sendTextMessage(fromWxid, sb.toString(), 1, null, true);
}else if (input.startsWith("TF")){
/*
ZQD130F-EB130 1 张林 17530176250 湖北省 武汉市 东西湖区 径河街道 径河街道临空港小区二期 8栋2单元2204联系15783450649转6316
切割出
ZQD130F-EB130
1
张林 17530176250 湖北省 武汉市 东西湖区 径河街道 径河街道临空港小区二期 8栋2单元2204联系15783450649转6316
* */
String[] parts = input.split("\t"); // 使用制表符分割
if (parts.length >= 3) {
String modelNumber = parts[0]; // 型号
String quantityStr = parts[1]; // 数量
String address = parts[2]; // 地址
StringBuilder order = new StringBuilder();
order.append("").append("\n").append("H-TF").append("\n").append(modelNumber).append("\n").append(" ").append("\n").append(quantityStr).append("\n").append(address);
sendOrderToWxByOrderD(order.toString(), fromWxid);
}
}
}