数据库变更CNPC_XJYJ
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public class PersonStarLevelService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 设置人员星级
|
||||
@@ -16,7 +16,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static string SetPersonStarLevel(string projectId, string userId, int? starLevelValue, string starLevelId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
string levelId = starLevelId;
|
||||
var getPersons = db.Sys_User.FirstOrDefault(x => x.UserId == userId);
|
||||
@@ -76,7 +76,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static string UpPersonStarLevel(string projectId, string userId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
string levelId = string.Empty;
|
||||
var getPersons = db.Sys_User.FirstOrDefault(x => x.UserId == userId);
|
||||
@@ -109,7 +109,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static string collectLog(string projectId, string personId)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
string starMark = string.Empty;
|
||||
///已经存在星级的人员 才能升星
|
||||
|
||||
Reference in New Issue
Block a user