data/db_cx.sql | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
data/db_tab.sql | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/entity/show/ApplyEntity.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/java/com/lf/server/service/show/ApplyService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
data/db_cx.sql
@@ -21,10 +21,9 @@ -- delete from lf.sys_apply where id > 47; delete from lf.sys_flow where applyid > 47; select * from lf.sys_download order by id desc select st_astext(geom) from bs.s_explorationpoint where exppointid in ('XTCK16') select * from lf.sys_publish order by id desc; select * from lf.sys_download order by id desc limit 20; --downid select * from lf.sys_apply order by id desc; data/db_tab.sql
@@ -994,6 +994,7 @@ status integer default 0, count integer default 0, descr varchar(100), guid varchar(40), create_user integer default 1, create_time timestamp(6) without time zone default now(), update_user integer, @@ -1013,12 +1014,13 @@ comment on column lf.sys_apply.status is '状态:-10-作废,-1-打回,0~9-审核中,10-通过'; comment on column lf.sys_apply.count is '审核总数'; comment on column lf.sys_apply.descr is '描述'; comment on column lf.sys_apply.guid is 'GUID'; comment on column lf.sys_apply.create_user is '创建人id'; comment on column lf.sys_apply.create_time is '创建时间'; comment on column lf.sys_apply.update_user is '更新人id'; comment on column lf.sys_apply.update_time is '更新时间'; select * from lf.sys_apply; select * from lf.sys_apply order by id desc; ----------------------------------------------------------------------------------------------------- 29.申请流程表 -- drop table if exists lf.sys_flow; create table lf.sys_flow ( src/main/java/com/lf/server/entity/show/ApplyEntity.java
@@ -49,6 +49,8 @@ private String gids; private String filters; private String guid; public ApplyEntity() { } @@ -212,4 +214,12 @@ public void setFilters(String filters) { this.filters = filters; } public String getGuid() { return guid; } public void setGuid(String guid) { this.guid = guid; } } src/main/java/com/lf/server/service/show/ApplyService.java
@@ -216,7 +216,11 @@ dr.setIds(getIds(entity)); dr.setFilter(entity.getFilters()); dataLibService.downloadDbReq(ue, dr); String guid = dataLibService.downloadDbReq(ue, dr); if (!StringHelper.isEmpty(guid)){ entity.setGuid(guid); update(entity); } } catch (Exception ex) { log.error(ex.getMessage(), ex); }