feat: 支持单位工程排序并统一委托单号生成与编辑
支持按业务序号展示单位工程,并使页面与 API 使用一致的委托单编号规则;允许有修改权限的用户调整委托单号。附带序号字段及修改按钮权限的数据库升级脚本。
This commit is contained in:
@@ -258,7 +258,7 @@ namespace FineUIPro.Web.HJGL.InfoQuery
|
||||
&& x.SuperUnitWork == null
|
||||
&& x.UnitId != null
|
||||
&& x.ProjectType != null
|
||||
orderby x.UnitWorkCode
|
||||
orderby x.SerialNumber, x.UnitWorkCode
|
||||
select x).ToList();
|
||||
|
||||
// 优化2: 批量获取所有相关管线数据,避免N+1查询问题
|
||||
|
||||
Reference in New Issue
Block a user