全局处理问题:public static Model.SGGLDB db = Funs.DB;
This commit is contained in:
@@ -10,7 +10,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class ReceiveFileManagerService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键获取一般来文
|
||||
@@ -166,6 +166,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static void IssueReceiveFile(string receiveFileManagerId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var getFile = Funs.DB.InformationProject_ReceiveFileManager.FirstOrDefault(x => x.ReceiveFileManagerId == receiveFileManagerId);
|
||||
if (getFile != null && getFile.FileType == "1")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user