数据库变更CNPC_XJYJ
This commit is contained in:
@@ -25,7 +25,7 @@ namespace BLL
|
||||
/// <param name="lawRegulationSelectedItem">法律法规项实体</param>
|
||||
public static void AddLawRegulationSelectedItem(Model.Law_LawRegulationSelectedItem lawRegulationSelectedItem)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
string newKeyID = SQLHelper.GetNewID(typeof(Model.Law_LawRegulationSelectedItem));
|
||||
Model.Law_LawRegulationSelectedItem newLawRegulationSelectedItem = new Model.Law_LawRegulationSelectedItem
|
||||
{
|
||||
@@ -46,7 +46,7 @@ namespace BLL
|
||||
/// <param name="lawRegulationIdentifyCode">法律法规辨识主键</param>
|
||||
public static void DeleteLawRegulationSelectedItemByLawRegulationIdentifyId(string lawRegulationIdentifyId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Law_LawRegulationSelectedItem where x.LawRegulationIdentifyId == lawRegulationIdentifyId select x).ToList();
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user