This commit is contained in:
chikyun.kim
2018-10-29 09:53:15 +09:00
parent 28cde78186
commit 0878e80f14
10 changed files with 208 additions and 44 deletions

View File

@@ -57,7 +57,9 @@ namespace FEQ0000
cmbState.Items.Add(item);
this.cmbState.SelectedIndex = 1;
if (FCOMMON.info.Login.level > 9)
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth_Purchase());
if (curLevel >= 5)
{
btSave.Visible = true;
}
@@ -92,7 +94,7 @@ namespace FEQ0000
" and (isnull(request,'') like @req or isnull(receive,'') like @req)";
if (cmbState.SelectedIndex != 1) cmd.CommandText += " and state like @st";
else cmd.CommandText += " and state < '04'";
else cmd.CommandText += " and (state < '04' or state > '07')";
cmd.CommandText += " ORDER BY pdate DESC, idx DESC";
cmd.Parameters.Add(new System.Data.SqlClient.SqlParameter("@sd", dtSD.Text));
@@ -470,5 +472,14 @@ namespace FEQ0000
//}
}
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e)
{
var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다.");
if(dlg == System.Windows.Forms.DialogResult.Yes)
{
}
}
}
}