#20230510 欣影管理平台装置信息查询代码

master
18616268358 2 years ago
parent c28c3ea28b
commit 8162c438b6

@ -39,7 +39,7 @@
where request_type = #{requesttype}
and client_id = #{clientid}
and result = #{result}
and request_schedule_status = #{schedulestatus}
and request_schedule_status is null
</select>
<select id="selectByRequestIdList" resultMap="BaseResultMap">

@ -282,7 +282,7 @@ public class TerminalScheduleRuleServiceImpl implements TerminalScheduleRuleServ
ArrayList<GetScheduleRequestIdListModel.RequestBean> requestIdList = new ArrayList<>();
for (int x = 0; x < terminalsList.size(); x++) {
ChannelAndTermDto channelAndTermDto = terminalsList.get(x);
String cmd = Constants.CMD + "schedule --group=" + dtoList.size() + " --flag=1 --cmdid=" + channelAndTermDto.getCmdid() + "\t" + "--channel=" + channelAndTermDto.getChannelid() + "\t" +
String cmd = Constants.CMD + "schedule --group=" + dtoList.size()*3 + " --flag=1 --cmdid=" + channelAndTermDto.getCmdid() + "\t" + "--channel=" + channelAndTermDto.getChannelid() + "\t" +
timestr.toString();
ProcessExecUtils.exec(cmd);
int requestId = Integer.parseInt(Constants.REQUEST_ID.toString());

Loading…
Cancel
Save