Commit 22499043 224990433c5799bbab64e47c73c39a30d34d0953 by lWoHvYe

单片类内容,无剧头的工单。自动上线逻辑对应调整

1 parent 1ad6454e
......@@ -36,7 +36,10 @@ public class AutoOnlineProcessor {
for (Map<String, Object> map : mapList) {
var id = (Long) map.get("id");
var externalCode = (String) map.get("external_code");
String chkSql = "select wrc.operation from ws_c2_recieve_cmd wrc where wrc.obj_code = ? and wrc.obj_type = 'media' and `status` = 200 ORDER BY wrc.create_time desc limit 1 ";
String chkSql = "select wrc.operation from ws_c2_recieve_cmd wrc where wrc.obj_code = ? " +
// 单片类不生成节目的相关工单。故不限制类型
// "and wrc.obj_type = 'media' " +
"and `status` = 200 ORDER BY wrc.create_time desc limit 1 ";
// 查询最新的接收工单状态
var wrcRecord = dbUtil.queryUniqueResult(connection, chkSql, externalCode);
if (ObjectUtil.isNotNull(wrcRecord)) {
......