添加xml消息的SEQ 字段

This commit is contained in:
zhouxiunai
2019-01-07 18:24:08 +08:00
parent bd5fc8191d
commit 02300928d3
@@ -29,7 +29,7 @@ public class CmoutmsgServiceImpl implements ICmoutmsgService {
public Boolean sendSchdGetMsg(Date startDate,Date endDate)
{
Long nowtime = System.currentTimeMillis();
String nowtime = DateTimeUtil.gtFormatStr(new Date(), "yyMMddhhmmss", Locale.ENGLISH);
//构造消息
MSG rqfdMsg = new MSGBuilder().
setMETA(
@@ -37,7 +37,8 @@ public class CmoutmsgServiceImpl implements ICmoutmsgService {
.setSNDR(SUBSYSTEMS.OSH5)
.setTYPE(MESSAGETYPES.RQFD)
.setSTYP(MESSAGESUBTYPES.NONE)
.setDTTM(new BigInteger(nowtime.toString()))
.setDTTM(new BigInteger(nowtime))
.setSEQN(new BigInteger(nowtime))
.build()
)
.build();