| | |
| | | (423, '地面层', 'fushun_site', 'tileset/o/39HBFG/tileset.json', 2, 3, 5, 0, 1, 'Tileset', '工程测量模型', 1200); |
| | | update lf.sys_layer set elev=118,cn_name='地面层' where id=427; |
| | | |
| | | update bd.b_hy20w_d21 set ann = concat(gb, '_', name) where 1 = 1; |
| | | select concat(gb, '_', name) from bd.dlg_agnp limit 10; |
| | | select * from lf.sys_layer |
| | | |
| | | |
| | | |
| | | |
| | |
| | | id serial primary key, |
| | | eventid varchar(38) default new_guid(), |
| | | metaid integer default 0, |
| | | ismeta smallint default 0, |
| | | dirid integer default 0, |
| | | depid integer default 0, |
| | | verid integer default 0, |
| | | depcode varchar(24) default '00', |
| | | dircode varchar(24) default '00', |
| | | verid integer default 0, |
| | | ismeta smallint default 0, |
| | | name varchar(256), |
| | | type varchar(100), |
| | | guid varchar(38) default new_guid(), |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询所有") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<DictEntity>> selectAll() { |
| | | try { |
| | | List<DictEntity> list = dictService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex, null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "根据ID查询") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | |
| | | |
| | | private String bak; |
| | | |
| | | private String createName; |
| | | |
| | | private String updateName; |
| | | |
| | | public DictEntity() { |
| | | } |
| | | |
| | |
| | | public void setBak(String bak) { |
| | | this.bak = bak; |
| | | } |
| | | |
| | | public String getCreateName() { |
| | | return createName; |
| | | } |
| | | |
| | | public void setCreateName(String createName) { |
| | | this.createName = createName; |
| | | } |
| | | |
| | | public String getUpdateName() { |
| | | return updateName; |
| | | } |
| | | |
| | | public void setUpdateName(String updateName) { |
| | | this.updateName = updateName; |
| | | } |
| | | } |
| | |
| | | public List<DictEntity> selectByPage(String ns, String tab, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * 查询所有 |
| | | * |
| | | * @return |
| | | */ |
| | | public List<DictEntity> selectAll(); |
| | | |
| | | /** |
| | | * 根据ID查询 |
| | | * |
| | | * @param id |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<DictEntity> selectAll() { |
| | | return dictMapper.selectAll(); |
| | | } |
| | | |
| | | @Override |
| | | public DictEntity selectById(int id) { |
| | | return dictMapper.selectById(id); |
| | | } |
| | |
| | | </select> |
| | | |
| | | <select id="selectByPage" resultType="com.lf.server.entity.data.DictEntity"> |
| | | select * from lf.sys_dict |
| | | select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_dict a |
| | | <where> |
| | | status = 0 |
| | | <if test="ns != null"> |
| | |
| | | </where> |
| | | order by ns,tab,id |
| | | limit #{limit} offset #{offset} |
| | | </select> |
| | | |
| | | <select id="selectAll" resultType="com.lf.server.entity.data.DictEntity"> |
| | | select * from lf.sys_dict where status = 0 order by ns,tab,id |
| | | </select> |
| | | |
| | | <select id="selectById" resultType="com.lf.server.entity.data.DictEntity"> |