添加xml消息的SEQ 字段
This commit is contained in:
@@ -29,7 +29,7 @@ public class CmoutmsgServiceImpl implements ICmoutmsgService {
|
|||||||
|
|
||||||
public Boolean sendSchdGetMsg(Date startDate,Date endDate)
|
public Boolean sendSchdGetMsg(Date startDate,Date endDate)
|
||||||
{
|
{
|
||||||
Long nowtime = System.currentTimeMillis();
|
String nowtime = DateTimeUtil.gtFormatStr(new Date(), "yyMMddhhmmss", Locale.ENGLISH);
|
||||||
//构造消息
|
//构造消息
|
||||||
MSG rqfdMsg = new MSGBuilder().
|
MSG rqfdMsg = new MSGBuilder().
|
||||||
setMETA(
|
setMETA(
|
||||||
@@ -37,7 +37,8 @@ public class CmoutmsgServiceImpl implements ICmoutmsgService {
|
|||||||
.setSNDR(SUBSYSTEMS.OSH5)
|
.setSNDR(SUBSYSTEMS.OSH5)
|
||||||
.setTYPE(MESSAGETYPES.RQFD)
|
.setTYPE(MESSAGETYPES.RQFD)
|
||||||
.setSTYP(MESSAGESUBTYPES.NONE)
|
.setSTYP(MESSAGESUBTYPES.NONE)
|
||||||
.setDTTM(new BigInteger(nowtime.toString()))
|
.setDTTM(new BigInteger(nowtime))
|
||||||
|
.setSEQN(new BigInteger(nowtime))
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user