




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
The47thWorldskillsCompetition
SelectionCompetitionofJiangsuProvince
SampleTestProjectofITSoftwareSolutionsforBusiness
第47届世界技能大赛
江苏省选拔赛
商务软件解决方案项目样题
Session3
第3阶段
Submittedby:
PropositionExpertGroup
命题专家组编写
Contents
内容
ThisTestProjectproposalconsistsofthefollowingdocumentation/files:
本测试项目包含以下文档/文件:
1.TestProject_S3.pdf
2.Session3-MsSQL.sql
Introduction
介绍
KazanNeftneededtodevelopaWebapplicationtoorganizeandmanagetheassetsitownedand
operated.ThemainfunctionoftheWebapplicationisassetmanagement.Theassetmanagement
programneedstohavethefollowingfunctions.
KazanNeft公司需要开发一个Web应用程序,对其拥有和运行的资产进行组织管理。该
Web应用程序的主要功能是资产管理。资产管理程序需要具有以下功能:
•Login.
•登录。
•Displaylistofassetsandregisternewassets.
•资产显示列表及登记新资产。
•Transferasset.
•转移资产。
DescriptionofProjectandTasks
测试项目和任务描述
Youhave2.5hoursforthissession.
本阶段时间2.5小时。
Whiledevelopingthetestproject,pleasemakesurethedeliverablesconformtothebasicguidelines
drawnoutbydifferentdepartmentsatKazanNeft:
当开发测试项目时,请确保可交付成果符合KazanNeft公司各部门所列出的基本指引方针。
•Thereshouldbeconsistencyinusingtheprovidedstyleguidethroughoutdevelopment.
•在整个开发过程中在使用所提供的风格指南时要具有一致性。
TP09_S32of11
•Allrequiredsoftwaremodulesmusthaveapplicableandusefulvalidationanderror
messagesasexpectedbytheindustry.
•所有要求的软件模块必须有行业所期待的适用且有用的验证及错误提示信息。
•Offerascrollbarifthenumberofrecordsonalistoratablethatdonotfitintheformarea
comfortably.Hidescrollbarsifallcontentcancomfortablybedisplayed.
•如果窗体大小无法合适地满足列表或数据表中的记录数目,提供一个滚动条。若所有
内容可以合适地显示于窗体中,隐藏滚动条。
•Thede-factostandard,ISOcompliantdateformatisYYYY-MM-DDwhichwillbeusedin
thistaskwhereapplicable.
•实际符合ISO所兼容的标准日期格式是YYYY-MM-DD,在本任务合适的地方使用此
日期格式。
•Whereapplicable,usecommentsincodetohavethecodemoreprogrammer-readable.
•若适用时,在代码中使用注释以使代码更加易于编程人员理解。
•Theuseofvalidandpropernamingconventionsisexpectedinallmaterialsubmitted.
•在所有提交的材料中使用有效与合适的命名规范。
•Anyformorreportoncecreatedshouldbedisplayedinthecenterofthescreen.
•任何窗体或报表一经创建应显示在屏幕中央。
•Whenaformoradialogueisinfocus,operationsonotherformsneedtobesuspended.
•当一个窗体或对话框处于焦点状态,其它窗体上的操作需暂停。
•Provideappropriatevalidationanderrormessagesthroughoutallpartsofthesystem.
•在系统的所有部分提供合适的验证与错误提示信息。
•ThecaptionofDeleteandCancelbuttonsneedtobeinredtohelpwithaccidentalmishaps.
•Delete(删除)和Cancel(取消)按钮的标题需为红色以避免出现失误。
•Whenusingcolorstodifferentiatebetweenrowsorrecords,thereneedstobevisible
clarificationonthescreenastowhattheystandfor.
•当使用颜色来区分行或记录时,窗口中应有清晰可见的说明来解释颜色所代表的含义。
•Thewireframediagramsprovidedaspartofthisdocumentareonlysuggestionsandthe
solutionproduceddoesnothavetobe,inanyway,mirrorwhathasbeenpictured.
•本文档提供的线框图仅供参考,所开发的解决方案不必照搬所提供的图样。
•Timemanagementiscriticaltothesuccessofanyprojectandsoitisexpectedofall
deliverablestobecompleteandoperationalupondelivery.
•时间管理对任何项目的成功开发是非常重要的,因此希望所有可交付成果在交付时是
完整与可运行的。
•YourwebapplicationwillbejudgedthroughChromebrowser.
•你的Web应用程序将通过Chrome浏览器进行评判。
InstructionstotheCompetitor
向选手的说明
TP09_S33of11
3.1CreatingtheDatabase
创建数据库
Createadatabasebythenameof“Session3”inyourdesiredRDBMSPlatform(MicrosoftSQL
Server).Thiswillbethemainandonlydatabaseyouwilluseinthissession.
在你选择的关系型数据库管理系统(RDBMS)平台(MicrosoftSQLServer)上创建一个数
据库,命名为“Session3”,这将是你在本阶段使用的主要及唯一的数据库。
3.2ImportingDatabaseStructure
导入数据库结构
DependingonyourpreferredRDBMSplatform,aSQLscriptsismadeavailable.Thesaidscripts
consistofthedatabasestructureanddatarequiredtocompletethetasks.Thedataneedstobe
importedtothedatabasecreatedforthissessionnamed“Session3”.
根据你选择的关系型数据库管理平台,提供了一个SQL脚本。该脚本包含了数据库结构及
完成任务所需的数据。数据需要导入到为本阶段而创建的名为“Session3”的数据库中。
Asinstructedbythedesigners,thedatabasestructureprovidedforthepurposeofthissectioncannot
bealtered.Thisappliestoremovaloftables,addingordeletinganyfieldsonthetablesorofchange
intheirdatatypes.
正如设计者所述,为本部分提供的数据库结构不能被修改,包括不能删除数据表,不能添加
或删除数据表中的任何字段,或不能修改数据类型。
Tohelpfurtherperceivethethinkingbehindthestructureofthedatabase,thedatabasedesigners
provideanEntityRelationshipDiagram(ERD).Theaforementioneddiagramexplainsthe
conceptualandrepresentationalmodelofdatausedinthedatabase.
为了进一步帮助了解数据库结构背后的思想,数据库设计者提供了一个实体关系图(ERD)。
该图解释了数据库中所使用的数据的概念化和表示模型。
TP09_S34of11
3.3Login
登录
Anemployeelogsintothesystemusinghisorhermobilephonenumberandpassword.After
successfullogin,theassetmanagementpageisdisplayed.
TP09_S35of11
员工使用手机号和密码登录系统,登录成功之后打开资产管理页面。
Ifthenumberofloginfailuresreaches3,theemployeeshallberequiredtoentera5-digit
verificationcodecontainingbothlettersandnumbers.
登录失败次数达到3次,应要求员工输入一串同时包含字母和数字的5位验证码。
3.4AssetManagement
资产管理
Fromtheloginpage,employeescanmanageassets.
员工从登录页面转到这里,能够对资产进行管理。
Theemployeecanqueryassetsunderthefollowingconditions:
能够查询资产,查询条件包括:
•AssetSN:资产编号;
•Department:部门;
•AssetGroup:资产分组。
Theassetinformationisasfollows:
查询出的资产信息,包括:
•AssetSN:资产编号;
•AssetName:资产名称;
•Department:部门;
TP09_S36of11
•AssetGroup:资产分组;
•Description:描述;
•WarrantyDate:保质期。
Click“Register”button.The“Register/EditAsset”pageisdisplayedtoregisterassets.
单击“Register”按钮,打开“Register/EditAsset”页面注册资产。
Click“Edit”link.The“Register/EditAsset”pageisdisplayedtoeditassets.
单击“Edit”链接,打开“Register/EditAsset”页面编辑资产。
Click“Transfer”link.The“TransferAsset”pageisdisplayedtotransferassets.
单击“Transfer”链接,打开“TransferAsset”页面转移资产。
Click“TransferHistory”link.The“TransferHistory”pageisdisplayedtoviewtransferhistory.
单击“TransferHistory”链接,打开“TransferHistory”页面查看资产转移历史。
3.5Register/EditAsset
注册/编辑资产
Thispageallowsemployeestoregisternewassetsoreditexistingassetsinthedatabase,as
describedbelow:
该页面允许员工在数据库中登记新资产或编辑已存在的资产,如下所述:
•Thedatafieldsusedareasfollows:
•使用的数据字段如下所述:
oAssetName,Department,Location,AssetGroup,AccountableParty(Shouldbethe
currentlogged-inuser),AssetDescription,ExpiredWarranty,Pictures
TP09_S37of11
o资产名称,部门,位置,资产分组,负责方(应为当前登录用户),资产描述,
保修期期限,图片。
•Departmentisadrop-downlistretrievedandpopulatedfromthedatabase.
•部门是一个下拉列表,从数据库中获取和填充。
•Locationisalsoadrop-downlistthatdisplaysalllocationavailablefortheselected
department.
•位置也是一个下拉列表,为所选部门显示已有的全部位置。
•Thesystemshouldpreventhavingtwoassetsofthesamenameatthesamelocation.
•系统应阻止在同一位置有两个同名的资产。
•TheAssetSNfieldhasadynamicvaluewhichdependsonthe“AssetGroup”and
“Department”propertiesoftheassetasdescribedhere:
•AssetSN(资产序列号)字段有一个动态的值,取决于资产的“AssetGroup(资产分
组)”和“Department(部门)”的属性,如下所述:
oTheformatforthisfieldisindd/gg/nnnnformat:
o本字段的格式是dd/gg/nnnn:
▪ddisadoubledigitandrefersdirectlytothedepartmentIDtheassetis
locatedat.
▪dd是个两位数,直接指的是资产所在的部门ID。
▪ggisalsoadouble-digitnumeralanddirectlyreferencestheIDoftheasset
grouptheyareregisteredto.
▪gg也是个两位数,直接指的是资产所登记到的资产分组ID。
▪nnnnwhichisthelastpartoftheserialnumberisanincrementalfour-digit
numberthatisuniquetothedepartmentandtheassetgroup.Anassetina
departmentwithinanassetgroupcannotsharethisnumber.
▪nnnn是序列号的最后部分,是一个递增的四位数,在部门和资产分组
中是独一无二的。在同一资产分组中的同一部门里的一项资产不能共享
该数。
▪Incaseanyofthethreepartsoftheserialnumberdonothavetherequired
numberofdigits,thesystemshouldautomaticallyaddzerosinfrontofthe
numbertocomplywiththerequirements.
▪若序列号的三个部分中有任何部分的数字未达到所要求的个数时,系统
应自动在数字前添加0以便符合要求。
•Theusermayselectanduploadoneormorepictures.
•用户可以选择和上传一张或多张照片。
Wheneditinganasset,thefollowingrequirementsmustbemet:
当编辑资产时,应满足以下要求:
•The“Location”,“Department”,and“AssetGroup”entriesarereadonlyandcannotbe
alteredinthisinterface.
TP09_S38of11
•“位置”,“部门”和“资产分组”条目是只读的,在此页面中不能修改。
•Thesystemshouldpreventhavingtwoassetsofthesamenameinthesamelocation.
•系统应阻止在同一位置有两个同名的资产。
•Allthefieldsexceptforthewarrantydaterangeandimagesshouldbefilledoutbeforethe
pagecanbesubmitted.
•除了保修期范围及图片以外的所有其它字段应在页面提交之前被填写。
•Loadtheexistingpicturesoftheasset.Click“Remove”todeletethepictures.
•加载显示资产已有的照片,单击“Remove”链接能够删除对应的照片。
•Theusermayselectanduploadoneormorepictures.
•用户可以选择和上传一张或多张照片。
3.6TransferAsset
转移资产
Employeescantransferassetsonthisinterface.Thefollowingdescribessomeofthefeatures
required:
员工能够在该界面转移资产。以下描述了所要求的一些功能:
•The“AssetName”,“CurrentDepartment”,and“AssetSN”entriesarelocatedatthetopand
arereadonlyandcannotbealteredinthisform.
•“资产名称”,“当前部门”和“资产序列号”条目位于顶部,是只读状态,在此窗体中不
能修改。
•Therequiredentriesinordertocompleteatransferareasfollows:
•为了完成资产转移所要求的输入条目如下:
o“DestinationDepartment”isalistpopulatedfromthedatabaseandshouldnot
containthenameofthedepartmenttheassetcurrentlyresidesin.
TP09_S39of11
o“目的地部门”是一个由数据库填充的列表,不应该包含该资产当前所在部门的
名称。
o“DestinationLocation”isalsoadrop-downlistthatdisplaysalllocationavailable
fortheselecteddepartment.
o“目的地位置”也是一个下拉列表,显示所选部门的所有可用位置。
•“NewAssetSN”isgeneratedaftertheuserselectsdestinationdepartment:
•在用户选择目的地部门后,生成“新资产序列号”:
oTheformatforthisfieldisindd/gg/nnnnformat:
o此字段格式为dd/gg/nnnn:
▪ddisadoubledigitandrefersdirectlytothedepartmentIDtheassetis
locatedat.
▪dd是个两位数,直接指的是资产所在的部门ID。
▪ggisalsoadouble-digitnumeralanddirectlyreferencestheIDoftheasset
grouptheyareregisteredto.
▪gg也是个两位数,直接指的是资产所登记到的资产分组ID。
▪nnnnwhichisthelastpartoftheserialnumberisanincrementalfour-digit
numberthatisuniquetothedepartmentandtheassetgroup.Anassetina
departmentwithinanassetgroupcannotsharethisnumber.
▪nnnn是序列号的最后部分,是一个递增的四位数,在部门和资产分组
中是独一无二的。在同一资产分组中的同一部门里的一项资产不能共享
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年征信考试题库:征信产品创新与信用数据挖掘试题
- 2025年声乐演唱职业能力测试卷:声乐作品演唱技巧与情感表达试题
- 2025年初中地理环境与可持续发展模拟试卷及答案(自然地理知识篇)
- 2025年注册税务师税法二实务操作测试试卷
- 2025年古筝演奏技能考核试卷:古筝演奏中的音乐技巧试题
- 2025年小学教师资格考试《综合素质》教育心理学教育评价试题试卷
- 2025年区块链工程师职业能力测试卷:区块链技术在版权保护领域的探索与应用
- 2025年医保知识考试题库及答案:医保基金监管案例解析与实战演练试卷
- 2025年初中地理环境与人类活动模拟试卷答案解析及复习方法
- 2025年软件设计师专业考试模拟试卷:软件工程与软件测试实践试题
- 山东省脐带血合同协议
- 2025-2030全球及中国自主汽车芯片行业市场现状供需分析及市场深度研究发展前景及规划可行性分析研究报告
- 四川宜宾环球集团有限公司招聘笔试题库2025
- 湖北省武汉市六校联考2024-2025学年高二下学期4月期中考试化学试题(含答案)
- 小学藏文基础知识课件下载
- 大学英语四级考试2024年6月真题(第1套)阅读
- 浙江2025年03月温州市龙湾区事业单位公开招考(选调)31名工作人员笔试历年典型考题(历年真题考点)解题思路附带答案详解
- 中国海洋石油集团有限公司招聘笔试真题2024
- 2025-2030冷轧行业市场发展分析及投资前景研究报告
- 新疆维吾尔自治区2024年中考数学试卷含真题解析
- 搅拌站安装施工方案
评论
0/150
提交评论