福途教育网
专业的教育资讯网站

当前位置:福途教育网 > 咨询工程师 > 正文

是否存在总监理工程师证书(总监理工程师证是哪个部门颁发的)

时间:2023/3/31 11:46:21 编辑:福途教育 标签:咨询工程师

2023年【咨询工程师】申请条件/费用/专业咨询 >>

咨询工程师申请条件是什么?咨询工程师费用是多少?咨询工程师专业都有哪些?

点击咨询

    本文解答了关于《是否存在总监理工程师证书》相关内容,同时关于1、是否存在总监理工程师证书的作用,2、有没有总监理工程师证,3、总监理工程师证书有效期几年,4、总监理工程师证是哪个部门颁发的,5、总监理工程师证书含金量,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。

    是否存在总监理工程师证书(总监理工程师证是哪个部门颁发的)

    是否存在总监理工程师证书

    sql = "select * from dbo.T_Certificate where EmployeeId=@EmployeeId and TypeId=@TypeId"

    args.set("@EmployeeId", obj.EmployeeId)

    args.set("@TypeId", CertificateType.SupervisorEngineer)

    res = db.query("Employee", sql, args);

    if res then

    redata.msg = "该员工已存在总监理工程师证书"

    break

    end

    end

    end

    if not redata.msg then

    redata.vo=obj

    end

    return redata

    end

    验证用户有权限操作,调用为 list.set{data=checkFunc(username,data,"certificatesys")}

    function checkFunc(username,data,funcName)

    local redata = { msg = "" }

    local isTrue = login.checkUserfunc(username,funcName)

    if not isTrue then

    redata.msg = "用户无操作该功能权限"

    else

    redata.data = data

    end

    return redata

    end

    function saveCertiacate(obj,Province, certificateType,ExpirationDate)

    local redata = {msg=""}

    local dbConn = cf.getDBConn()

    if not dbConn then

    return false

    end

    local id = obj.Id;

    --local typeid = obj.TypeId;

    if not province then

    redata.msg="省份不能为空"

    return redata

    end

    if not certificateType then

    redata.msg="证书类型不能为空"

    return redata

    end

    if not ExpirationDate then

    redata.msg="有效期不能为空"

    return redata

    end

    obj.Province=Province;

    obj.TypeId=CertificateType[certificateType]

    obj.ExpirationDate=ExpirationDate

    --如果是新建

    if id==nil then

    -- 添加

    res = db.add("Employee", "T_Certificate", obj)

    else

    --修改

    sql = "update T_Certificate set Province=@Province,TypeId=@TypeId,ExpirationDate=@ExpirationDate WHERE Id=@Id"

    args=cf.createDict();

    args.set("@Province",Province);

    args.set("@TypeId",CertificateType[certificateType]);

    args.set("@ExpirationDate",ExpirationDate);

    args.set("@Id",id);

    res = db.update("Employee", sql, args);

    if res then

    end

    end

    if not redata.msg then

    redata.vo=obj

    end

    return redata;

    end

    总结:以上是编辑:【郭晓丽】整理及AI智能原创关于《

    是否存在总监理工程师证书

    》优质内容解答希望能帮助到您。

以上手机版 是否存在总监理工程师证书(总监理工程师证是哪个部门颁发的) 小编为您整理是否存在总监理工程师证书(总监理工程师证是哪个部门颁发的)的全部内容

点击查看 咨询工程师 更多内容

热门推荐

最新文章