数据库变更CNPC_XJYJ
This commit is contained in:
@@ -15,7 +15,7 @@ namespace BLL
|
||||
/// <param name="newDetail"></param>
|
||||
public static string SaveHazardRealTime(Model.Hazard_RealTimeItem newDetail)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
Model.Hazard_RealTimeDevice realTimeDevice = db.Hazard_RealTimeDevice.FirstOrDefault(x => x.BitNum == newDetail.BitNum);
|
||||
if (realTimeDevice == null)
|
||||
|
||||
Reference in New Issue
Block a user