生产开模统计表,删除设备代码字段

tags/yfai-pcn-ext-v1.0
jun 1 year ago
parent 7574dfe698
commit 69603b0aee

@ -113,7 +113,7 @@ public class MesProdMouldStatisticsServiceImpl implements IMesProdMouldStatistic
StringBuilder itemData = new StringBuilder();
for (MesProdMouldStatistics statistics : mesProdMouldStatisticsList) {
String time = TimeTool.parseStringFormat(statistics.getCreateDatetime(), "yyyy-MM-dd HH:mm:ss", "yyyy-MM-dd'T'HH:mm:ss");
itemData.append(String.format(sendItemData, statistics.getAssetNum(), statistics.getEquipmentCode(), statistics.getQty(), time, "1117"));
itemData.append(String.format(sendItemData, statistics.getAssetNum(), statistics.getMeterName(), statistics.getQty(), time, "1117"));
}
String body = HttpRequest.post(sendUrl).header("Content-Type", "text/xml").body(String.format(sendData, itemData)).execute().body();
//发送成功更新同步状态
@ -155,7 +155,6 @@ public class MesProdMouldStatisticsServiceImpl implements IMesProdMouldStatistic
mesProdMouldStatistic.setWorkDate(mesProdMouldRecordEntry.getKey());
mesProdMouldStatistic.setAssetNum(mesMouldMappingCfg.getAssetNum());
mesProdMouldStatistic.setMeterName(mesMouldMappingCfg.getMeterName());
mesProdMouldStatistic.setEquipmentCode(mesMouldMappingCfg.getEquipmentCode());
mesProdMouldStatistic.setQty(mesProdMouldRecordEntry.getValue().size());
mesProdMouldStatistic.setOrganizeCode(organizeCode);
ConvertBean.serviceModelInitialize(mesProdMouldStatistic, userName);

Loading…
Cancel
Save