公司简称

This commit is contained in:
hayu 2026-01-03 17:18:54 +08:00
parent fedf90f077
commit 8c63afebda
3 changed files with 7 additions and 1 deletions

View File

@ -37,6 +37,9 @@ public class BmCompanyInfo implements Serializable {
@ApiModelProperty(value = "企业名称", required = true) @ApiModelProperty(value = "企业名称", required = true)
private String companyName; private String companyName;
@ApiModelProperty(value = "企业简称", required = true)
private String companyAbbreviationName;
/** /**
* 企业类型(社会企业南网集团企业南网控股企业) * 企业类型(社会企业南网集团企业南网控股企业)
*/ */

View File

@ -713,6 +713,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT SELECT
sd.dept_id as companyId, sd.dept_id as companyId,
sd.dept_name as companyName, sd.dept_name as companyName,
sd.dept_abbreviation as companyAbbreviationName,
sd.is_show as isShow, sd.is_show as isShow,
b.operate_address as operateAddress b.operate_address as operateAddress
FROM FROM

View File

@ -108,7 +108,9 @@
ORDER BY t.applyTime DESC; ORDER BY t.applyTime DESC;
</select> </select>
<select id="getDeviceByDept" resultType="java.util.Map"> <select id="getDeviceByDept" resultType="java.util.Map">
SELECT sd.dept_abbreviation AS companyName, -- 公司名称 SELECT
sd.dept_id AS companyId,
sd.dept_abbreviation AS companyName, -- 公司名称
-- 工具数量无数据则为0取整 -- 工具数量无数据则为0取整
ROUND(IFNULL(SUM(temp.toolNum), 0)) AS toolNum, ROUND(IFNULL(SUM(temp.toolNum), 0)) AS toolNum,
-- 设备数量无数据则为0取整 -- 设备数量无数据则为0取整