Sdal
This commit is contained in:
parent
cd503a37d1
commit
954efe5a15
@ -304,8 +304,7 @@ namespace StudentProgressRecord.Reports
|
||||
while (dividend > 0)
|
||||
{
|
||||
modulo = (dividend - 1) % 26;
|
||||
columnName = Convert.ToChar(65 + modulo).ToString() +
|
||||
columnName;
|
||||
columnName = Convert.ToChar(65 + modulo).ToString() + columnName;
|
||||
dividend = (dividend - modulo) / 26;
|
||||
}
|
||||
return columnName;
|
||||
|
@ -27,7 +27,6 @@ namespace StudentProgressRecord.Reports
|
||||
{
|
||||
var paragraph = _body.AppendChild(new Paragraph());
|
||||
var run = paragraph.AppendChild(new Run());
|
||||
// TODO прописать настройки под жирный текст
|
||||
run.AppendChild(new Text(header));
|
||||
return this;
|
||||
}
|
||||
|
@ -116,6 +116,7 @@ namespace StudentProgressRecord.RepositoryImp
|
||||
builder.AddCondition("st.date <= @dateTo");
|
||||
}
|
||||
using var connection = new NpgsqlConnection(_connectionString.GetConnectionString());
|
||||
|
||||
var querySelect =
|
||||
@$"SELECT
|
||||
st.*, s.Name as SubjectName, t.Name as TeacherName, m.StudentId, m.Mark, Student.Name as StudentName FROM Statement st
|
||||
|
Loading…
x
Reference in New Issue
Block a user