sqlsugar的PostgreSQL数据库 时间格式化分钟mm改为mi
This commit is contained in:
@@ -229,8 +229,8 @@ namespace Tnb.BasicData
|
||||
bom_id = a.id,
|
||||
material_code = b.code,
|
||||
material_name = b.name,
|
||||
start_time = a.start_time.HasValue ? a.start_time.Value.ToString("yyyy-MM-dd HH:mm:ss") : null,
|
||||
end_time = a.end_time.HasValue ? a.end_time.Value.ToString("yyyy-MM-dd HH:mm:ss") : null,
|
||||
start_time = a.start_time.HasValue ? a.start_time.Value.ToString(DbTimeFormat.SS) : null,
|
||||
end_time = a.end_time.HasValue ? a.end_time.Value.ToString(DbTimeFormat.SS) : null,
|
||||
version = a.version,
|
||||
route_id = c.id,
|
||||
route_name = c.name,
|
||||
|
||||
Reference in New Issue
Block a user