SVN-Revision: r486
This commit is contained in:
cyf
2025-04-14 08:43:06 +00:00
parent eea88e0b2b
commit 693e2cca6b
4 changed files with 55 additions and 23 deletions
+4 -1
View File
@@ -938,9 +938,12 @@ namespace Lskj.Business.Impl
string Str = "";
if (HasExistsColumn("Mps_MachineSetTab", "JzName"))
{
Str = ",JzName";
}
if (HasExistsColumn("Mps_MachineSetTab", "modid"))
{
Str += ",modid";
}
string sqlValue = string.Format("select id dm,jtname mc{1} from Mps_MachineSetTab where workshopid='{0}' ", cjid, Str);
if (!string.IsNullOrWhiteSpace(SystemInfo.Instance.MachineConditions)) sqlValue = sqlValue + SystemInfo.Instance.MachineConditions;