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