SVN r579
SVN-Revision: r579
This commit is contained in:
@@ -2975,7 +2975,7 @@ namespace Lskj.Control.Model
|
|||||||
string token = UploadFileUtil.Login(SystemInfo.Instance.OAUrl);
|
string token = UploadFileUtil.Login(SystemInfo.Instance.OAUrl);
|
||||||
if (!string.IsNullOrEmpty(token))
|
if (!string.IsNullOrEmpty(token))
|
||||||
{
|
{
|
||||||
string speciesno = "010105";
|
string speciesno = "010106";
|
||||||
byte[] fileBytes = UploadFileUtil.ConvertFileToBytes(filePath);
|
byte[] fileBytes = UploadFileUtil.ConvertFileToBytes(filePath);
|
||||||
string fileStream = Convert.ToBase64String(fileBytes);
|
string fileStream = Convert.ToBase64String(fileBytes);
|
||||||
string selectSql = $"select * from P_fm_FileTab where parentid in (select dirid from P_fm_DirectoryTab where pid = '{idValue}' and dllcoid = '{Model.ModuleCode}') and speciesno = '{speciesno}' and sname = '{Path.GetFileName(filePath).Replace(" ", "")}'";
|
string selectSql = $"select * from P_fm_FileTab where parentid in (select dirid from P_fm_DirectoryTab where pid = '{idValue}' and dllcoid = '{Model.ModuleCode}') and speciesno = '{speciesno}' and sname = '{Path.GetFileName(filePath).Replace(" ", "")}'";
|
||||||
|
|||||||
Reference in New Issue
Block a user