接口开发

This commit is contained in:
liang.chao 2025-09-02 09:06:47 +08:00
parent 526165e62a
commit d88ae6b2f6
2 changed files with 7 additions and 6 deletions

View File

@ -22,19 +22,21 @@ public class Project extends BaseEntity
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** 序号 */ /** 序号 */
@Excel(name = "序号", cellType = ColumnType.NUMERIC) // @Excel(name = "序号", cellType = ColumnType.NUMERIC)
private Long proId; private Long proId;
/** 项目名称 */ /** 项目名称 */
@Excel(name = "项目名称") @Excel(name = "项目名称")
private String proName; private String proName;
@Excel(name = "层级配置")
private String level;
/** 项目类型 */ /** 项目类型 */
@Excel(name = "项目类型") // @Excel(name = "项目类型")
private String proType; private String proType;
/** 所属单位 */ /** 所属单位 */
@Excel(name = "所属单位") // @Excel(name = "所属单位")
private String unit; private String unit;
/** 负责人 */ /** 负责人 */
@ -42,7 +44,7 @@ public class Project extends BaseEntity
private String chargePerson; private String chargePerson;
/** 项目所在地 */ /** 项目所在地 */
@Excel(name = "项目所在地") // @Excel(name = "项目所在地")
private String location; private String location;
/** 所属单位 */ /** 所属单位 */
@ -74,7 +76,6 @@ public class Project extends BaseEntity
*/ */
private int projectUserNum; private int projectUserNum;
private String level;
private String configName; private String configName;
} }

View File

@ -60,7 +60,7 @@
</select> </select>
<select id="selectProjectById" parameterType="Long" resultMap="ProjectResult"> <select id="selectProjectById" parameterType="Long" resultMap="ProjectResult">
select id, pro_name, pro_type, unit_name, user_name, pro_location, remark select id, pro_name, pro_type, unit_name, user_name, pro_location, remark,lon,lat
from tb_project from tb_project
where del_flag = '0' and id = #{proId} where del_flag = '0' and id = #{proId}
</select> </select>