|
@@ -640,6 +640,9 @@ public class WebAccessService {
|
|
|
JSONObject waparams = generateGetObject(tags);
|
|
|
Integer syyxsj = Integer.parseInt(getTagNameValues(waparams)); // 获取试验运行时间
|
|
|
|
|
|
+ // 防止试验运行时间太长,导致查询不到数据(3个月*30天*24小时*60分钟*60秒 = 7,776,000)
|
|
|
+ syyxsj = syyxsj < 7776000 ? syyxsj : 7776000;
|
|
|
+
|
|
|
// 开始时间
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
calendar.setTime(now); // 设置当前的时间戳
|
|
@@ -1159,5 +1162,15 @@ public class WebAccessService {
|
|
|
|
|
|
return url;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取工艺流程图地址
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public String getShiyiUrl() {
|
|
|
+ String url = getDictItemDesc("示意图页面", "single");
|
|
|
+
|
|
|
+ return url;
|
|
|
+ }
|
|
|
// endregion
|
|
|
}
|