Commit 4756d5b0b191deb26038a97a14e6cb36bd2ac2e1

Authored by 潘钊
1 parent bce4d371

dong tai chaxun

Showing 1 changed file with 11 additions and 5 deletions
README.md
... ... @@ -4,6 +4,7 @@
4 4 ## 目录
5 5 ---------
6 6 * [字典表](#字典表)
  7 + * [动态jpa查询实现](#动态jpa查询实现)
7 8 * [车载 gps 相关数据](#gps)
8 9 * [实时gps数据接口 http](#实时gps接口)
9 10 * [进出站数据表结构](#进站数据)
... ... @@ -19,7 +20,7 @@
19 20  
20 21 ----------
21 22  
22   -## 字典表 dictionary.js
  23 +## 字典表
23 24 ----------
24 25 字典操作全部由前端负责,主要有2种。
25 26  
... ... @@ -54,11 +55,16 @@
54 55 *原标签的class 除nt-dictionary 外,其余均会被保留*
55 56  
56 57 2、dictionary.js提供如下方法自行使用
57   -| 方法名 | 参数| 描述|返回|
  58 +| 方法名 | 参数|返回|
58 59 | ---- | ---- | ---- | ---- |
59   -| groups | 无|获取所有字典组 | {LineTrend: 线路走向, ScheduleType: 班次类型} |
60   -| getByGroup | (group) | 获取字典组下的字典(LineTrend) |{0: 上行, 1: 下行}|
61   -| transformCode | (group, code) | 转换字典代码(LineTrend, 0) | 上行 |
  60 +| groups (获取所有字典组) | 无| | {LineTrend: 线路走向, ScheduleType: 班次类型} |
  61 +| getByGroup (获取字典组下的字典)| (group) |{0: 上行, 1: 下行}|
  62 +| transformCode (转换字典代码)| (group, code) | 上行 |
  63 +
  64 +## 动态jpa查询实现
  65 +----------
  66 +*参考调度系统枚举com.bsth.entity.search.SearchOperator*
  67 +
62 68  
63 69 ## gps
64 70 ----------
... ...