Files
SGGL_HBAZ/SGGL/Model/HSSE_SafetyPatrol.Code.cs
T
yangjl 192824ea90 安全巡检接入真实数据库:编码字段自动生成、公示牌二维码修复、安全问题统计排除作废
- 安全巡检表新增编码字段(Code,全局唯一 XJ-序号),WebAPI/桌面端新增时自动生成,不可重复
- 修复危大超危工程公示牌二维码不显示:urlName 含非法字符?导致 image.Save 抛异常,改用主键+内容哈希安全文件名
- 安全问题统计(mainProject/main3)排除作废数据(States=4),图表口径与顶部计数一致
- Word 导出文件名改为 监督巡视部位+编号
- Model.cs 由 SqlMetal 重新生成,补齐巡检人ID/签收人ID/发现问题/处理要求等字段;新增 HSSE_SafetyPatrol.Code.cs 补充 Code 列
- 新增安全巡检完整建表脚本(SGGLDB_V2026-08-25-001);删除已过时的接口文档 SafetyPatrol_API.md
2026-08-26 19:13:11 +08:00

19 lines
780 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Data.Linq.Mapping;
namespace Model
{
/// <summary>
/// 【补充部分类】为 HSSE_SafetyPatrol 提供编码(Code) 列映射。
/// 说明:该列已由数据库脚本新增(见 DataBase/版本日志/SGGLDB_V2026-08-26-001-zones.sql),
/// 但本地无 SqlMetal,未通过 CreateModel.bat 重新生成 Model.cs,故以 partial 类补齐。
/// 注意:若以后用 CreateModel.bat 重新生成 Model.csSqlMetal 会把 Code 一并生成,
/// 届时请删除本文件,避免出现重复的 Code 成员导致编译错误。
/// </summary>
public partial class HSSE_SafetyPatrol
{
[Column(Name = "Code", DbType = "NVarChar(50)")]
public string Code { get; set; }
}
}