|
|
|
@ -1496,8 +1496,8 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
|
|
|
|
|
for(ProOrderWorkorder data:workorderList){
|
|
|
|
|
mapData = new HashMap();
|
|
|
|
|
mapData.put("xh", xh);
|
|
|
|
|
mapData.put("orderCode",data.getOrderCode().substring(4));
|
|
|
|
|
mapData.put("workorderSap", data.getWorkorderCodeSap().substring(4));
|
|
|
|
|
mapData.put("orderCode",data.getOrderCode().substring(3));
|
|
|
|
|
mapData.put("workorderSap", data.getWorkorderCodeSap().substring(3));
|
|
|
|
|
mapData.put("materialCode", data.getProductCode().substring(7));
|
|
|
|
|
mapData.put("materialDesc", data.getProductName());
|
|
|
|
|
mapData.put("quality", data.getQuantitySplit());
|
|
|
|
@ -1754,11 +1754,7 @@ public class ProOrderWorkorderServiceImpl implements IProOrderWorkorderService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static void main(String args[]) {
|
|
|
|
|
List<String> wcodes = new ArrayList<>();
|
|
|
|
|
wcodes.add("aaa");
|
|
|
|
|
wcodes.add("bbb");
|
|
|
|
|
wcodes.add("ccc");
|
|
|
|
|
Collections.reverse(wcodes);
|
|
|
|
|
System.out.println(StringUtils.join(wcodes, ","));
|
|
|
|
|
String s = "000800003044";
|
|
|
|
|
System.out.println(s.substring(3));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|