java开发规范文档

时间:2022-07-11 12:04:53 阅读: 最新文章 文档下载
说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。




一千零一夜产品部 系统开发规范V1.0



一千零一夜途遇科技有限公司



2015-11-03




修改记录

版本号 V1.0

修改人 刘伟

修改内容 规范第一版

目录

1 2 3 4

前言 ........................................................................................................................ 4 开发管理 ................................................................................................................ 4 项目周期 ................................................................................................................ 4 命名规范 ................................................................................................................ 5

4.1 4.2 4.3 4.4 4.5

项目编号命名规范 .................................................................................................... 5 文档命名规范 ............................................................................................................ 5 路径管理 .................................................................................................................... 5 jsp/html命名规范 ..................................................................................................... 6 数据库命名规范 ........................................................................................................ 8

表名规范 ............................................................................................................ 8 字段规范 ............................................................................................................ 8

4.5.1 4.5.2

5 6 文档规范 ................................................................................................................ 8 代码规范 ................................................................................................................ 9

6.1

Java源代码规范 ........................................................................................................ 9

命名 .................................................................................................................... 9 代码格式 .......................................................................................................... 11 注释 .................................................................................................................. 12 其他 .................................................................................................................. 13

6.1.1 6.1.2 6.1.3 6.1.4 6.2 6.3

jsp/html代码规范 ................................................................................................... 13 数据库开发规范 ...................................................................................................... 15

主键 .................................................................................................................. 15 日期类型 .......................................................................................................... 16 固定字段 .......................................................................................................... 16 取值规范 .......................................................................................................... 16 数据库开发工具 .............................................................................................. 16

6.3.1 6.3.2 6.3.3 6.3.4 6.3.5


6.3.6 6.4

Sql书写规范 .................................................................................................... 17

其他规范 .................................................................................................................. 17 Java源代码规范 ...................................................................................................... 18

java代码命名与格式 ....................................................................................... 18

7 实战代码规范 ...................................................................................................... 18

7.1 7.1.1 7.2

jsp/html代码规范 ................................................................................................... 26 Logic类中新增数据方法怎么写 ............................................................................. 29 Logic类中修改数据方法怎么写 ............................................................................. 30 Logic类中删除数据方法怎么写 ............................................................................. 31 怎样创建一个没有底部按钮的窗口 ...................................................................... 32 怎样设置弹出窗口的标题 ...................................................................................... 32 怎样重写提交数据的方法 ...................................................................................... 33 怎样创建单grid的页面.......................................................................................... 33 怎样多个页签的grid的页面 .................................................................................. 34 怎样创建左边树右边grid的页面 .......................................................................... 34

8 FAQ ...................................................................................................................... 29

8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9

9 代码检查规定 ...................................................................................................... 34

10 附录1JPA使用指南 javax.persistence的注解配置 .................................. 34




1 前言

为了使软件开发过程有章可循,保证软件质量,加强开发管理。

2 开发管理 3 项目周期

公司项目开发周期分为以下几个步骤:

文档名称 说明 撰写人 是否可选 备注 需求分析

完成对用户系统的需求分析

对项目工作量进行详细评估,配备相应的开发、测试、实施人员 指定项目的开发计划,指定到人 需求说明书 需求分析人必选 根据项目规模

和要求详细程

度可以有所不

同。

Demo 各个模块的详开发人员 必选 根据项目规模

细页面Demo 和要求详细程

度可以有所不同。

开发计划 标记各个模块项目经理 必选 到周,到人

的开发计划

测试计划 测试计划 测试人员 必选 根据项目情况

详细情况可以不同

测试用例 测试人员 可选 根据项目情况

选用

开发阶段

各计划阶段时间点的执行情况 每周进行总结

项目执行情况 项目经理 必选 项目经理填写说明 标准格式的文


每周个人总结 系统提交测试报告

测试报告 实施阶段

验收报告

项目阶段性提交给项目

项目组成员 项目经理 测试人员

必选 可选



初期在贵阳项目试行

项目经理 必选

4 命名规范

4.1 项目编号命名规范



4.2 文档命名规范



4.3 路径管理

路径结构如下: 项目名称

|_database(数据库数据) |_docs(文档)

|_参考文档(项目参考文件)

|_需求&设计(需求文件及各种设计文档) |_开发计划 |_软件测试 |_部署&培训 |_工作汇报

|_trunk(主目录)

|_WebRoot(应用文件) |_src(源代码)


|_业务模块一(某一个功能分类,如工具类) |_com.navinfo.分类英文名 (源代码目录) | |_entity (数据模型) |_logic (逻辑实现类) |_services (逻辑接口层) |_action (Action)

|_utils(当前功能的工具类或常量定义)

|_

|_spring/ (spring的配置文件)

|_hibernate/ (hibernate的配置文件) |_struts/ (struts的配置文件)

|_quartz/ (quartz的配置文件) 注,红色字体的部分和原有规范不同,主要是业务模块和配置文件

放在同一个根目录下,为防止eclipse的配置顺序导致源代码和配置文件分离的很远。



|_业务模块二 |_......



示例:



图:Src路径



4.4 jsp/html命名规范

jsphtml文件名全部小写,并遵循如下的规范:

数据/内容显示页

名词,多个单词用下划线分隔,要求能说明显示内容的信息,为避免冲突,可加上 "_list"。例如:


new_message.html my_file_list.jsp

操作处理页

命名格式:名词_下划线_动词,例如:file_delete.jsp



图:Jsp命名



frame页面

name属性命名的格式是①xxx._xxx_xxx xxx部分用来标识当前页面隶属于整个系统中的哪一功能模块。 如:属于ebwebmail则被表示为ebwebmail,其它情况依次类推。 xxx部分标识当前页面所要完成的功能。

如:完成用户登录的功能则被标识为login,其它情况依次类推。 xxx部分用来用来表示页面在浏览器窗口所处的位置。 处于浏览器窗口的顶部则标识为top,其它情况依次类推。 例如:ebwebmail_inbox_top.jsp

src属性相应的文件名根据情况建议在原命名规范上用下划线加上所处窗口的位置。

javascript脚本方法

脚本函数都以①xxx_xxx的方式命名。 xxx对应页面隶属的模块。

xxx表示函数所要实现的功能(动宾结构),多个单词用下划线连接。 例如:ebwebmail_send_mail()

模块通用的脚本函数必须集合于一个js文件中,在页面上通过形式导入。js文件名命名使用模块名,如:ebwebmail.js

如果项目已经提供了公共js脚本,则优先使用公共js脚本中提供的函数。

所有定义方法的

注意:必须指定一个有意义的</word><word ps='' class=''>,严禁出现</word><word ps='' class=''>"Untitled"</word><word ps='' class=''>或</word><word ps='' class=''>"</word><word ps='' class=''>未命名</word><word ps='' class=''>"</word><word ps='' class=''>之类的</word><word ps='' class=''><title></word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>2</word><word ps='' class=''>. </word><word ps='' class=''>所有</word><word ps='' class=''>html</word><word ps='' class=''>标签使用小写</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>. html</word><word ps='' class=''>页面一般需要设置一个背景色(一般是</word><word ps='' class=''>#FFFFFF</word><word ps='' class=''>)</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><br/><word ps='' class=''>html</word><word ps='' class=''>语法校验</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>所有的</word><word ps='' class=''>jsp/html</word><word ps='' class=''>页面需要能够使用</word><word ps='' class=''>DreamWeaver</word><word ps='' class=''>正确打开</word><word ps='' class=''>(即</word><word ps='' class=''>html</word><word ps='' class=''>语法正确,</word><word ps='' class=''>没有错误的标记)</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>注释</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>一般不使用</word><word ps='' class=''>html</word><word ps='' class=''>注释,除非是有必要让最终用户看到的内容。对于包含</word><word ps='' class=''>JSP</word><word ps='' class=''>代码的</word><word ps='' class=''>html</word><word ps='' class=''>块,必须使用</word><word ps='' class=''>JSP</word><word ps='' class=''>注释。对于没有必要的注释,在发行版本中必须</word><word ps='' class=''>移除。</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>form</word><word ps='' class=''>属于域的</word><word ps='' class=''>maxlength </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>对于</word><word ps='' class=''>text</word><word ps='' class=''>类型的输入域,必须根据数据库字段的长度设置相应的</word><word ps='' class=''>maxlength</word><word ps='' class=''>,</word><word ps='' class=''>例如数据库类型是</word><word ps='' class=''>V</word><word ps='' class=''>ARCHAR(64)</word><word ps='' class=''>,那么</word><word ps='' class=''>maxlength</word><word ps='' class=''>是</word><word ps='' class=''>32</word><word ps='' class=''>(因为中文浏览器对于</word><word ps='' class=''>中文也认为是一个字符)</word><word ps='' class=''>。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>6.3 </word><word ps='' class=''>数据库开发规范</word><word ps='' class=''> </word><word ps='' class=''>6.3.1</word><word ps='' class=''> </word><word ps='' class=''>主键</word><word class=''> </word><br/><br/><word ps='' class=''>每个表都有一个自动增长键作为主键</word><word ps='' class=''>ID</word><word ps='' class=''>。</word><word ps='' class=''>同时,</word><word ps='' class=''>业务逻辑上,</word><word ps='' class=''>采用唯一主键</word><word ps='' class=''>做索引,我们可以采用</word><word ps='' class=''>UUID</word><word ps='' class=''>,或者订单号,作为逻辑主键。</word><word ps='' class=''> </word><word ps='' class=''>以订单表为例:</word><pic s='' class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><pic s='' class=''></pic><word class=''>BLL_ORDERS</word><br/><br/><word class=''>ID</word><br/><br/><word class=''>ORDER_NUM</word><word class=''>AMOUNT</word><br/><br/><word class=''>CREATE_TIME</word><word class=''>UPDATE_TIME</word><word class=''>...</word><br/><br/><word class=''>LONG</word><br/><br/><word class=''>VARCHAR(30)</word><word class=''>NUMBER(8)</word><word class=''>LONG</word><word class=''>LONG</word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>ID</word><word ps='' class=''>为自动增长列作表的主键,</word><word ps='' class=''>ORDER_NUM</word><word ps='' class=''>或者</word><word ps='' class=''>UUID </word><word ps='' class=''>实际订单的编号,</word><word ps='' class=''>设置为唯一键(或者不设也可以)</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>这样做的好处是:加快</word><word ps='' class=''>JOIN</word><word ps='' class=''>查询的速度,因为,如果采用订单编号这一类</word><word ps='' class=''>型键值作为主键,它的类型多为字符型,如果多表</word><word ps='' class=''>JOIN</word><word ps='' class=''>会比,数值型慢很</word><word ps='' class=''>多。而且一般</word><word ps='' class=''>ORDER_NUM</word><word ps='' class=''>这类型的键值一般是通过逻辑生成,很难保证</word><word ps='' class=''>是绝对唯一的。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>建立自增主键的方法:</word><word class=''> </word><br/><br/><word class=''>http://www.oracle-base.com/articles/misc/AutoNumber.php</word><pic s='' class=''></pic><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>关于</word><word ps='' class=''>UUID </word><word ps='' class=''>和</word><word ps='' class=''> </word><word ps='' class=''>自增主键的功能分工问题:</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>为什么要加入</word><word ps='' class=''>UUID</word><word ps='' class=''>?主要是为了方便某些业务中防止对业务数据通过</word><word ps='' class=''>URL</word><word ps='' class=''>链接中直接传入可以进行标识的获取到不应该访问的内容。</word><word ps='' class=''>如果类似业</word><word ps='' class=''>务都需要通过权限控制实现对资源的占用过多。</word><word ps='' class=''>UUID</word><word ps='' class=''>是</word><word ps='' class=''>32</word><word ps='' class=''>位的,所以很难</word><word ps='' class=''>进行模拟。</word><word ps='' class=''>即</word><word ps='' class=''>UUID</word><word ps='' class=''>主要是通过链接访问的时候传入。</word><word ps='' class=''>系统通过一个</word><word ps='' class=''>getUuid</word><word ps='' class=''>的方法获取到对象。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>为什么需要同时具有</word><word ps='' class=''>UUID</word><word ps='' class=''>和</word><word ps='' class=''>ID</word><word ps='' class=''>?</word><word ps='' class=''>UUID</word><word class=''>具备防篡改的能力,但是过长</word><br/><br/><br/><word ps='' class=''>同时不易读,在大数据量的存储的时候会导致空间的浪费。即在关联表或者</word><word ps='' class=''>外键中,都使用</word><word ps='' class=''>id</word><word ps='' class=''>进行关联。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>ID</word><word ps='' class=''>和</word><word ps='' class=''>UUID</word><word ps='' class=''>都是能找到唯一一条记录的。</word><word ps='' class=''>因此,</word><word ps='' class=''>在数据存储层</word><word ps='' class=''>(</word><word ps='' class=''>data access </word><word ps='' class=''>layer</word><word ps='' class=''>)里,使用</word><word ps='' class=''>ID</word><word ps='' class=''>和</word><word ps='' class=''>UUID</word><word ps='' class=''>进行更新或删除操作,都可以,对数据安全没影</word><word ps='' class=''>响。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>而在代码里,</word><word ps='' class=''>更新数据或删除数据的操作,采用自增</word><word ps='' class=''>ID</word><word ps='' class=''>,</word><word ps='' class=''>而数据显式传</word><word ps='' class=''>递是(如,通过</word><word ps='' class=''>URL</word><word ps='' class=''>传递参数时)采用</word><word ps='' class=''>UUID</word><word ps='' class=''>根据</word><word ps='' class=''>UUID</word><word ps='' class=''>,在数据库里把整</word><word ps='' class=''>个对象装载入实体类。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>所以,</word><word ps='' class=''>Hibernate</word><word ps='' class=''>里的实体类,必要要有自增键的映射,而联合查询必须</word><word ps='' class=''>是通过自增键进行。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>注:</word><word ps='' class=''>不是所有的表都需要具备</word><word ps='' class=''>UUID</word><word ps='' class=''>的,</word><word ps='' class=''>主要取决于被仿冒的程度,</word><word ps='' class=''>如用户、</word><word ps='' class=''>门店、商品等是需要</word><word ps='' class=''>UUID</word><word ps='' class=''>的,但是订单表只保留</word><word ps='' class=''>ID</word><word ps='' class=''>即可。</word><word class=''> </word><br/><br/><word ps='' class=''>6.3.2</word><word ps='' class=''> </word><word ps='' class=''>日期类型</word><word class=''> </word><br/><br/><word ps='' class=''>日期类型,统一采用文本格式的字符串,中间不加入任何连接符,在显示的</word><word ps='' class=''>时候再进行格式化转换。</word><word class=''> </word><br/><br/><word ps='' class=''>6.3.3</word><word ps='' class=''> </word><word ps='' class=''>固定字段</word><word class=''> </word><br/><br/><word ps='' class=''>每个表添加两个时间字段,</word><word ps='' class=''>CREATE_TIME</word><word ps='' class=''>,保存的是该条记录创建的时间,</word><word ps='' class=''>UPDATE_TIME</word><word ps='' class=''>,保存的是该条记录最后一次更新的时间。这个方便我做数</word><word ps='' class=''>据抽取。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>每个表加入</word><word ps='' class=''>ISV</word><word ps='' class=''>ALID</word><word ps='' class=''>字段,用来表示该条记录是否的有效性。既是,我们业</word><word ps='' class=''>务系统的所用删除操作,都不是实际删除,只是一个标识。假如数据量增大</word><word ps='' class=''>很多后,才统一由</word><word ps='' class=''>DBA</word><word ps='' class=''>执行物理删除,而删除前可作一个备份,这样可以</word><word ps='' class=''>极大得减少因人为操作不当,而对系统数据造成的不必要损失。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>6.3.4</word><word ps='' class=''> </word><word ps='' class=''>取值规范</word><word class=''> </word><br/><br/><word ps='' class=''>当使用字符代表某个业务含义为</word><word ps='' class=''>bool</word><word ps='' class=''>型的字段时,使用</word><word ps='' class=''>1</word><word ps='' class=''>代表</word><word ps='' class=''>true</word><word ps='' class=''>的含义,</word><word ps='' class=''>使用</word><word ps='' class=''>0</word><word ps='' class=''>代表</word><word ps='' class=''>false</word><word ps='' class=''>的含义。即:</word><word ps='' class=''>isvalid</word><word ps='' class=''>标识有效性,为</word><word ps='' class=''>1</word><word ps='' class=''>代表有效,为</word><word ps='' class=''>0</word><word ps='' class=''>代表</word><word ps='' class=''>无效。</word><word class=''> </word><br/><br/><word ps='' class=''>6.3.5</word><word ps='' class=''> </word><word ps='' class=''>数据库开发工具</word><word class=''> </word><br/><br/><word ps='' class=''>数据库设计工具采用</word><word ps='' class=''>SysBase</word><word ps='' class=''>的</word><word ps='' class=''>PowerDesigner 15.1</word><word ps='' class=''>建的数据库设计图。</word><word ps='' class=''>由于</word><word ps='' class=''>此</word><word ps='' class=''>PD</word><word ps='' class=''>的版本在小版本上存在格式不兼容的可能。必须限定使用工具的大小</word><word ps='' class=''>版本均一致。</word><word class=''> </word><br/><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>6.3.6</word><word ps='' class=''> </word><word ps='' class=''>Sql</word><word ps='' class=''>书写规范</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''></word><word class=''> </word><br/><br/><word ps='' class=''>select * </word><word ps='' class=''>使用时要注意,不能滥用</word><word class=''> </word><br/><br/><word ps='' class=''>用</word><word ps='' class=''>like </word><word ps='' class=''>语句要精确,尽量使用等着查询</word><word ps='' class=''> </word><word ps='' class=''>过滤重复</word><word ps='' class=''> </word><word ps='' class=''>少用</word><word ps='' class=''>in </word><word ps='' class=''>语句</word><word ps='' class=''> </word><word ps='' class=''>(</word><word ps='' class=''>1.</word><word ps='' class=''>多用等值查询</word><word ps='' class=''> 2.</word><word ps='' class=''>多用</word><word ps='' class=''>exists</word><word ps='' class=''>语句)</word><word ps='' class=''> </word><word ps='' class=''>减少</word><word ps='' class=''>SQL</word><word ps='' class=''>查询嵌套</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>Java</word><word ps='' class=''>程序中尽量不要查一个结果集然后循环拼</word><word ps='' class=''>SQL</word><word ps='' class=''>再执行查询</word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>较少</word><word ps='' class=''>SQL</word><word ps='' class=''>语句中的</word><word ps='' class=''>SQL</word><word ps='' class=''>子嵌套)</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>多用</word><word ps='' class=''>exists</word><word ps='' class=''>少用</word><word ps='' class=''>in </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>表查询建索引</word><word class=''> </word><br/><br/><word ps='' class=''>但不要滥用建索引磁盘占用率大,</word><word ps='' class=''>建索引的规则是通过对实际业务查询要求</word><word ps='' class=''>分析而来的,</word><word ps='' class=''>而不是所有的表都需要加入。</word><word ps='' class=''>即查询条件中同时使用的等值查询部</word><word ps='' class=''>分作为索引的规则。</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>查询要尽量使用分页查询</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>预编译</word><word ps='' class=''> </word><word ps='' class=''>可适当使用别滥用,用多会导致游标数被占用完,同时不要</word><word ps='' class=''>for</word><word class=''>循环</word><br/><br/><word ps='' class=''>中间使用预编译对象的声明(可以使用对象的创建)</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>6.4 </word><word ps='' class=''>其他规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>对</word><word ps='' class=''>于</word><word ps='' class=''>IDE</word><word ps='' class=''>的使用</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>目前</word><word ps='' class=''>J2EE</word><word ps='' class=''>系统的开发使用</word><word ps='' class=''>Eclipse</word><word ps='' class=''>,</word><word ps='' class=''>但是最后提交的代码必须不依赖任何</word><word ps='' class=''>IDE</word><word ps='' class=''>,</word><word ps='' class=''>而需要可以使用</word><word ps='' class=''>ant</word><word ps='' class=''>完成所有的编译工作。一般提交的代码目录格式参照</word><word ps='' class=''>4.3 </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>限</word><word ps='' class=''>制</word><word ps='' class=''>session</word><word ps='' class=''>的使用</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>在代码中使用</word><word ps='' class=''>session</word><word ps='' class=''>需要听取项目经理的意见,项目经理需要在设计文档中</word><word ps='' class=''>登记项目中所有使用到的</word><word ps='' class=''>session</word><word ps='' class=''>的名字和作用。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>限</word><word ps='' class=''>制外部包的使用</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>开发员如果需要使用一个外部包需要听取项目经理的意见。</word><word ps='' class=''>在项目经理批准以</word><word ps='' class=''>前,</word><word ps='' class=''>严禁擅自使用一个外部的包。</word><word ps='' class=''>项目经理需要将依赖的外部包在文档中进行描</word><word ps='' class=''>述。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><br/><word ps='' class=''>7</word><word ps='' class=''> </word><word ps='' class=''>实战代码规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.1 </word><word ps='' class=''> </word><word ps='' class=''>Java</word><word ps='' class=''>源代码规范</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>7.1.1</word><word ps='' class=''> </word><word ps='' class=''>java</word><word ps='' class=''>代码命名与格式</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.1.1.1 </word><word ps='' class=''>P</word><word ps='' class=''>ackage </word><word ps='' class=''>的命名</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>Package </word><word ps='' class=''>的名字应该都是由一个小写单词组成,例如:</word><word ps='' class=''>com.navinfo. </word><word ps='' class=''>backplatform</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>此外,对于包名我们做如下约定:</word><word ps='' class=''> </word><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>图:</word><word ps='' class=''>organization</word><word ps='' class=''>包结构</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.1.1.2 </word><word ps='' class=''> </word><word ps='' class=''>Entity</word><word ps='' class=''>类的命名与规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>实体类定义示例代码如下:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word ps='' class=''> </word><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>说明:</word><word class=''> </word><br/><br/><word ps='' class=''>1</word><word ps='' class=''>:实体类命名,表名</word><word ps='' class=''>+Entity</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>2</word><word ps='' class=''>:实体类注解定义</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>@Entity </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@Table(name=</word><word ps='' class=''>”</word><word ps='' class=''>实际表名</word><word ps='' class=''>”</word><word class=''>) </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>:实体类必须继承</word><word ps='' class=''>BaseForm </word><word ps='' class=''>4</word><word ps='' class=''>:</word><word ps='' class=''>id</word><word ps='' class=''>字段的定义必须定义成</word><word ps='' class=''>id</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>5</word><word ps='' class=''>:</word><word ps='' class=''>@Transient</word><word ps='' class=''>表示非数据库字段。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.1.1.3 </word><word ps='' class=''> </word><word ps='' class=''>Logic</word><word ps='' class=''>类的命名与规范</word><word class=''> </word><br/><br/><word ps='' class=''>Logic</word><word ps='' class=''>类的示例代码:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>说明:</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>1</word><word ps='' class=''>:所有</word><word ps='' class=''>logic</word><word ps='' class=''>的命名都是以</word><word ps='' class=''>Logic</word><word ps='' class=''>结尾。都要继承</word><word ps='' class=''>HibernateDao</word><word ps='' class=''>这个类。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>2</word><word ps='' class=''>:在</word><word ps='' class=''>logic</word><word ps='' class=''>中都必须覆盖</word><word ps='' class=''>listPage</word><word ps='' class=''>这个类。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>:增,删,改已经在</word><word ps='' class=''>HibernateDao</word><word ps='' class=''>这个类实现了,如下:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>新增,修改或删除数据操作,如果</word><word ps='' class=''>setSuccess(true)</word><word class=''>表示操作成功,如果</word><br/><br/><word ps='' class=''>setSuccess(false)</word><word ps='' class=''>表示操作失败,操作成功默认在</word><word ps='' class=''>jsp/js</word><word ps='' class=''>中显示的是</word><word ps='' class=''>infoSuccess</word><word ps='' class=''>的</word><word ps='' class=''>信息,操作失败默认在</word><word ps='' class=''>jsp/js</word><word ps='' class=''>中显示的是</word><word ps='' class=''>info</word><word ps='' class=''>的信息,如下图:</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><word ps='' class=''>7.1.1.4 </word><word ps='' class=''>A</word><word ps='' class=''>ction </word><word ps='' class=''>的命名与规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>示例如下代码:</word><word ps='' class=''> </word><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><word ps='' class=''> </word><word ps='' class=''>说明:</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>1</word><word ps='' class=''>:所有的</word><word ps='' class=''>action</word><word ps='' class=''>命名都是模块名</word><word ps='' class=''>+Action</word><word class=''>,都要继承</word><br/><br/><word ps='' class=''>com.navinfo.backplatform.core.utils.web</word><word ps='' class=''>包的</word><word ps='' class=''>CrudActionSupport</word><word ps='' class=''>类。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>图:</word><word ps='' class=''>CrudActionSupport</word><word ps='' class=''>的定义</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>2</word><word ps='' class=''>:</word><word ps='' class=''>CrudActionSupport</word><word ps='' class=''>的泛型中第一个参数是实体类,第二个参数是业务逻</word><word ps='' class=''>辑类。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>图:</word><word ps='' class=''>action</word><word ps='' class=''>的定义</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>:业务逻辑类的定义,需要用到</word><word ps='' class=''>@Autowired</word><word ps='' class=''>注解标签。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>图:逻辑类的申明</word><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>4</word><word ps='' class=''>:实体类的申明,实体类与页面上的</word><word ps='' class=''>form</word><word ps='' class=''>类合成了一个,减少了一个页面</word><word ps='' class=''>form</word><word ps='' class=''>的定义。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>5</word><word ps='' class=''>:实现</word><word ps='' class=''>getModel()</word><word ps='' class=''>方法。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>在</word><word ps='' class=''>getModel()</word><word ps='' class=''>方法中需要赋值,把实体类赋值给父类的</word><word ps='' class=''>entityClass</word><word ps='' class=''>变量。把</word><word ps='' class=''>业务逻辑类赋值给</word><word ps='' class=''>baseServices</word><word ps='' class=''>变量。</word><word class=''> </word><br/><br/><word ps='' class=''>6</word><word ps='' class=''>:必须覆盖</word><word ps='' class=''>prepareModel()</word><word ps='' class=''>方法。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>7</word><word ps='' class=''>:覆盖</word><word ps='' class=''>list()</word><word ps='' class=''>方法,默认已经在父类实现了</word><word ps='' class=''>list()</word><word ps='' class=''>方法,这个方法主要是取分</word><word ps='' class=''>页数据。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><word ps='' class=''>要实现自己的查询数据,只要在</word><word ps='' class=''>logic</word><word ps='' class=''>类中覆盖父类的</word><word ps='' class=''>listPage</word><word ps='' class=''>方法。</word><word ps='' class=''> </word><word ps='' class=''>list()</word><word ps='' class=''>方法默认是</word><word ps='' class=''>json</word><word ps='' class=''>输出,</word><word ps='' class=''>struts</word><word ps='' class=''>中的配置如下:</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>Struts</word><word ps='' class=''>中</word><word ps='' class=''>result</word><word ps='' class=''>的</word><word ps='' class=''>type</word><word ps='' class=''>是</word><word ps='' class=''>json</word><word ps='' class=''>。但是这个</word><word ps='' class=''>action</word><word ps='' class=''>的</word><word ps='' class=''>url</word><word ps='' class=''>配置要注意,</word><word ps='' class=''>package</word><word ps='' class=''>的</word><word ps='' class=''>extends</word><word ps='' class=''>必须是</word><word ps='' class=''>json-default</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>Jsp</word><word ps='' class=''>中</word><word ps='' class=''>extjs</word><word ps='' class=''>中</word><word ps='' class=''>reader</word><word ps='' class=''>的配置如下:</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>Root</word><word ps='' class=''>是</word><word ps='' class=''>page.data,totalProperty</word><word ps='' class=''>是</word><word ps='' class=''>page.totalCount</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>8</word><word ps='' class=''>:</word><word ps='' class=''>默认</word><word ps='' class=''>beforeAdd(),add(),beforeUpdate(),update(),delete()</word><word ps='' class=''>都已经在父类实现,</word><word ps='' class=''>可以直接调用父类的方法,如</word><word ps='' class=''>super.beforeAdd()</word><word ps='' class=''>等等。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.2 </word><word ps='' class=''> </word><word ps='' class=''>jsp/html</word><word ps='' class=''>代码规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.2.1.1 </word><word ps='' class=''> </word><word ps='' class=''>jsp</word><word ps='' class=''>的命名与规范</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>jsp</word><word ps='' class=''>示例,文件名</word><word ps='' class=''>manager\examplemodule\ example_list.jsp</word><word ps='' class=''>:</word><pic class=''></pic><word class=''> </word><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><br/><pic class=''></pic><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>说明:</word><word class=''> </word><br/><br/><word ps='' class=''>1</word><word ps='' class=''>:</word><word ps='' class=''>jsp</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_list.jsp</word><word ps='' class=''>”</word><word ps='' class=''>表示列表页。</word><word ps='' class=''> </word><word ps='' class=''>jsp</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_add.jsp</word><word ps='' class=''>”</word><word ps='' class=''>表示新增页。</word><word ps='' class=''> </word><word ps='' class=''>jsp</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_edit.jsp</word><word ps='' class=''>”</word><word ps='' class=''>表示修改页。</word><word class=''> </word><br/><br/><word ps='' class=''>width</word><word ps='' class=''>和</word><word ps='' class=''>height</word><word ps='' class=''>是设置第一个弹出窗口的高与宽。</word><word ps='' class=''>Widt2h</word><word ps='' class=''>和</word><word ps='' class=''>height2</word><word ps='' class=''>是设置</word><word ps='' class=''>第二个弹出窗口的高与宽。</word><word class=''> </word><br/><br/><word ps='' class=''>2</word><word ps='' class=''>:</word><word ps='' class=''>before_add_data_list_url:</word><word ps='' class=''>弹出第一个新增窗口的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_add_url:</word><word ps='' class=''>弹出第一个新增窗口的提交数据</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_list_url:</word><word ps='' class=''>列表页的</word><word ps='' class=''>grid</word><word ps='' class=''>的</word><word ps='' class=''>store</word><word ps='' class=''>的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>before_update_data_list_url:</word><word ps='' class=''>弹出第一个修改数据窗口的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_update_url:</word><word ps='' class=''>弹出第一个修改数据窗口的提交数据</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_delete_url</word><word ps='' class=''>:列表页删除数据的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>:默认</word><word ps='' class=''>arr[30]</word><word ps='' class=''>是弹出的第一个新增数据窗口的标题,</word><word ps='' class=''>arr[31]</word><word ps='' class=''>是弹出的第一</word><word ps='' class=''>个修改数据窗口的标题。</word><word ps='' class=''>arr[31]</word><word ps='' class=''>是弹出的第一个修改数据窗口的标题。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>4</word><word ps='' class=''>:</word><word ps='' class=''>before_add_data_list_url2:</word><word ps='' class=''>弹出第二个新增窗口的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><br/><word ps='' class=''>data_add_url2:</word><word ps='' class=''>弹出第二个新增窗口的提交数据</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_list_url2:</word><word ps='' class=''>列表页的</word><word ps='' class=''>grid</word><word ps='' class=''>的</word><word ps='' class=''>store</word><word ps='' class=''>的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>before_update_data_list_url2:</word><word ps='' class=''>弹出第二个修改数据窗口的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_update_url2:</word><word ps='' class=''>弹出第二个修改数据窗口的提交数据</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>data_delete_url2</word><word ps='' class=''>:列表页删除数据的</word><word ps='' class=''>url</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7.2.1.2 </word><word ps='' class=''> </word><word ps='' class=''>js</word><word ps='' class=''>的命名与规范</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>示例代码</word><word ps='' class=''>,</word><word ps='' class=''>文件名</word><word ps='' class=''>manager\examplemodule\ example_list.js</word><word ps='' class=''>:</word><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word ps='' class=''>说明:</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''>1</word><word ps='' class=''>:</word><word ps='' class=''>js</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_list.js</word><word ps='' class=''>”</word><word ps='' class=''>表示列表页的</word><word ps='' class=''>js</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''>js</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_add.js</word><word ps='' class=''>”</word><word ps='' class=''>表示新增页的</word><word ps='' class=''>js</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''>js</word><word ps='' class=''>的命名是模块名</word><word ps='' class=''>+</word><word ps='' class=''>”</word><word ps='' class=''>_edit.js</word><word ps='' class=''>”</word><word ps='' class=''>表示修改页的</word><word ps='' class=''>js</word><word ps='' class=''>。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>2</word><word ps='' class=''>:</word><word ps='' class=''>创建</word><word ps='' class=''>grid</word><word ps='' class=''>是使用</word><word ps='' class=''>createGrid</word><word ps='' class=''>方法,</word><word ps='' class=''>创建底部工具栏是用</word><word ps='' class=''>createPageToolbar</word><word ps='' class=''>。</word><word ps='' class=''>创建</word><word ps='' class=''>viewPort</word><word ps='' class=''>是用</word><word ps='' class=''>createStandViewPort</word><word ps='' class=''>。</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3</word><word ps='' class=''>:每个有复选框的</word><word ps='' class=''>grid</word><word ps='' class=''>必须在</word><word ps='' class=''>grid</word><word ps='' class=''>创建后添加以下方法:</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>解决</word><word ps='' class=''>extjs</word><word ps='' class=''>中一个</word><word ps='' class=''>bug</word><word ps='' class=''>,这个</word><word ps='' class=''>bug</word><word ps='' class=''>是如果选择了</word><word ps='' class=''>grid</word><word ps='' class=''>当前页的所有数据,然后</word><word ps='' class=''>不选择某一行数据,全选框还是选择的。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>8</word><word ps='' class=''> </word><word ps='' class=''>FAQ </word><word class=''> </word><br/><br/><word ps='' class=''>8.1 </word><word ps='' class=''>Logic</word><word ps='' class=''>类中新增数据方法怎么写</word><word class=''> </word><br/><br/><word ps='' class=''>可以覆盖父类的方法,</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>/** </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* </word><word ps='' class=''>新增数据</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @param temp </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @return </word><word ps='' class=''>大于</word><word ps='' class=''>0</word><word ps='' class=''>表示成功</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>*/ </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>public BaseForm create(final T entity) throws Exception</word><word ps='' class=''>。示例如下:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>8.2 </word><word ps='' class=''>Logic</word><word ps='' class=''>类中修改数据方法怎么写</word><word class=''> </word><br/><br/><word ps='' class=''>可以覆盖父类的方法,</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>/** </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* </word><word ps='' class=''>修改数据</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @param temp </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @return </word><word ps='' class=''>大于</word><word ps='' class=''>0</word><word ps='' class=''>表示成功</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>*/ </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>public BaseForm update(final T entity) throws Exception</word><word ps='' class=''>。示例如下:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>8.3 </word><word ps='' class=''>Logic</word><word ps='' class=''>类中删除数据方法怎么写</word><word class=''> </word><br/><br/><word ps='' class=''>可以覆盖父类的方法,</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>/** </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* </word><word ps='' class=''>删除用户信息</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @param navinfo </word><word ps='' class=''>要删除的数据的</word><word ps='' class=''>id</word><word ps='' class=''>字符串</word><word ps='' class=''>,</word><word ps='' class=''>用</word><word ps='' class=''> </word><word ps='' class=''>":"</word><word ps='' class=''>分隔符分割</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @param temp </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>* @return </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''>*/ </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>public BaseForm delete(Object navinfo,final T temp)throws Exception</word><word ps='' class=''>。示例</word><word ps='' class=''>如下:</word><word class=''> </word><br/><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>8.4 </word><word ps='' class=''>怎样创建一个没有底部按钮的窗口</word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>所有的公共的</word><word ps='' class=''>js</word><word ps='' class=''>都在</word><word ps='' class=''>common\js\extjs\ common_gridpanel.js</word><word ps='' class=''>这个</word><word ps='' class=''>js</word><word ps='' class=''>,</word><word ps='' class=''>看以下代</word><word ps='' class=''>码是打开一个没有底部按钮的窗口。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>8.5 </word><word ps='' class=''>怎样设置弹出窗口的标题</word><word class=''> </word><br/><br/><word ps='' class=''>默认</word><word ps='' class=''>arr[30]</word><word ps='' class=''>是第一个弹出新增数据窗口的标题定义,</word><word ps='' class=''>arr[31]</word><word ps='' class=''>是第一个弹出修</word><word ps='' class=''>改数据窗口的标题定义,</word><word ps='' class=''>arr[33]</word><word ps='' class=''>是第二个弹出新增数据窗口的标题定义,</word><word ps='' class=''>arr[34]</word><word ps='' class=''>是第二个弹出修改数据窗口的标题定义,看以下代码:</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><word ps='' class=''>8.6 </word><word ps='' class=''>怎样重写提交数据的方法</word><word class=''> </word><br/><br/><word ps='' class=''>默认第一个弹出的新增数据窗口调用的提交数据方法是</word><word ps='' class=''>submitAddData</word><word ps='' class=''>,默</word><word ps='' class=''>认第一个弹出的修改数据窗口调用的提交数据方法是</word><word ps='' class=''>submitUpdateData</word><word ps='' class=''>,</word><word ps='' class=''>默认第</word><word ps='' class=''>二个弹出的新增数据窗口调用的提交数据方法是</word><word ps='' class=''>submitAddData2</word><word ps='' class=''>,</word><word ps='' class=''>默认第二个弹</word><word ps='' class=''>出的新增数据窗口调用的提交数据方法是</word><word ps='' class=''>submitUpdateData2</word><word ps='' class=''>,请看如下代码:</word><word class=''> </word><br/><br/><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>你只要在自己的</word><word ps='' class=''>js</word><word ps='' class=''>中定义</word><word ps='' class=''>submitAddData</word><word ps='' class=''>等方法就可以。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>8.7 </word><word ps='' class=''>怎样创建单</word><word ps='' class=''>grid</word><word ps='' class=''>的页面</word><word class=''> </word><br/><br/><word ps='' class=''>请看</word><word ps='' class=''>ExampleActionbeforeList.action </word><word ps='' class=''>这个</word><word ps='' class=''>url</word><word ps='' class=''>的效果。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><br/><word ps='' class=''>8.8 </word><word ps='' class=''>怎样多个页签的</word><word ps='' class=''>grid</word><word ps='' class=''>的页面</word><word class=''> </word><br/><br/><word ps='' class=''>请看</word><word ps='' class=''>ExampleModuleActionbeforeList.action </word><word ps='' class=''>这个</word><word ps='' class=''>url</word><word ps='' class=''>的效果。</word><pic class=''></pic><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>8.9 </word><word ps='' class=''>怎样创建左边树右边</word><word ps='' class=''>grid</word><word ps='' class=''>的页面</word><word class=''> </word><br/><br/><word class=''> </word><br/><br/><word ps='' class=''>9</word><word ps='' class=''> </word><word ps='' class=''>代码检查规定</word><word class=''> </word><br/><br/><word ps='' class=''></word><word ps='' class=''> </word><word class=''>超过一人以上的项目组,由项目经理检查项目代码质量。并在项目的项目验</word><br/><br/><word ps='' class=''>收阶段提交项目项目代码规范总结。项目相关奖励与代码质量进行挂钩。</word><word ps='' class=''> </word><word ps='' class=''></word><word ps='' class=''> </word><word ps='' class=''>由技术总监对项目的代码规范进行抽查,</word><word class=''>相关代码质量情况与项目经理的奖</word><br/><br/><word ps='' class=''>励挂钩。</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>10</word><word ps='' class=''> </word><word ps='' class=''>附录</word><word ps='' class=''>1</word><word ps='' class=''>:</word><word ps='' class=''>JPA</word><word ps='' class=''>使用指南</word><word ps='' class=''> </word><word ps='' class=''>javax.persistence</word><word ps='' class=''>的注解配置</word><word class=''> </word><br/><br/><word ps='' class=''>1. @Id </word><word ps='' class=''>声明属性为主键</word><word ps='' class=''> </word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>2. @GeneratedValue</word><word ps='' class=''>表示主键是自动生成策略,一般该注释和</word><word ps='' class=''> </word><word ps='' class=''>@Id </word><word ps='' class=''>一起使用</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>3. @Entity </word><word ps='' class=''>任何</word><word ps='' class=''> </word><word ps='' class=''>hibernte </word><word ps='' class=''>映射对象都要有此注释</word><word ps='' class=''> </word><word class=''> </word><br/><br/><br/><word ps='' class=''>4. @Table(name = </word><word ps='' class=''>“</word><word ps='' class=''>tablename</word><word ps='' class=''>”</word><word ps='' class=''>) </word><word ps='' class=''>类声明此对象映射到哪个表</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>5. @Column(name = </word><word ps='' class=''>“</word><word ps='' class=''>Name</word><word ps='' class=''>”</word><word ps='' class=''>,nullable=false,length=32) </word><word ps='' class=''>声明数据</word><word ps='' class=''> </word><word ps='' class=''>库字段和类属</word><word ps='' class=''>性对应关系</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>6. @Lob </word><word ps='' class=''>声明字段为</word><word ps='' class=''> </word><word ps='' class=''>Clob </word><word ps='' class=''>或</word><word ps='' class=''> </word><word ps='' class=''>Blob </word><word ps='' class=''>类型</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>7. </word><word ps='' class=''>@OneToMany(mappedBy=”order”,cascade </word><word ps='' class=''>= </word><word ps='' class=''>CascadeType.ALL, </word><word ps='' class=''>fetch</word><word ps='' class=''> </word><word ps='' class=''>= </word><word ps='' class=''>FetchType.LAZY) </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@OrderBy(value = “id ASC”) </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>一对多声明,和</word><word ps='' class=''> </word><word ps='' class=''>ORM </word><word ps='' class=''>产品声明类似,一看就明白了。</word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@ManyToOne(cascade=CascadeType.REFRESH,optional=false) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@JoinColumn(name = “order_id”) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>声明为双向关联</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>8. @Temporal(value=TemporalType.DATE) </word><word ps='' class=''>做日期类型转换。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>9. @OneToOne(optiona</word><word ps='' class=''>l= true,cascade = CascadeType.ALL, mappedBy = “person”) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>一对一关联声明</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@OneToOne(optional = false, cascade = CascadeType.REFRESH) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@JoinColumn(name </word><word ps='' class=''>= </word><word ps='' class=''>“Person_ID”, </word><word ps='' class=''>referencedColumnName </word><word ps='' class=''>= </word><word ps='' class=''>“personid”,unique = true) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>声明为双向关联</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>10. @ManyToMany(mappedBy= “students”) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>多对多关联声明。</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@ManyToMany(cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>@JoinTable(name = “Teacher_Student”, </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>joinColumns </word><word ps='' class=''>= {@JoinColumn(name = “Teacher_ID”, </word><word ps='' class=''>referencedColumnName </word><word ps='' class=''>= “teacherid”)}, </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>inverseJoinColumns </word><word ps='' class=''>= </word><word ps='' class=''>{@Joi</word><word ps='' class=''>nColumn(name </word><word ps='' class=''>= </word><word ps='' class=''>“Student_ID”, </word><word ps='' class=''>referencedColumnName = </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>“studentid”)} </word><word class=''> </word><br/><br/><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''> </word><word ps='' class=''>多对多关联一般都有个关联表,是这样声明的!</word><word ps='' class=''> </word><word class=''> </word><br/><br/><word ps='' class=''>11. @Transiten</word><word ps='' class=''>表示此属性与表没有映射关系,</word><word ps='' class=''>是一个暂时的属性</word><word ps='' class=''> </word><word ps='' class=''>,</word><word ps='' class=''>表示此数据</word><word ps='' class=''>不在数据库表里建立属性</word><word class=''> </word><br/><br/><word ps='' class=''>12. </word><word ps='' class=''>@Cache(usage= </word><word ps='' class=''>CacheConcurrencyStrategy.READ_WRITE)</word><word ps='' class=''>表示此对象应用缓</word><word ps='' class=''>存</word><word class=''> </word><br/><br/><br/> <p>本文来源:<a href="https://www.wddqw.com/doc/8d0b7c4bdeccda38376baf1ffc4ffe473368fd05.html">https://www.wddqw.com/doc/8d0b7c4bdeccda38376baf1ffc4ffe473368fd05.html</a></p> </div> <script type="text/javascript">s("download_bottom");</script> <script type="text/javascript">s();</script> <div class="related_article"> <div class="related_top"><code>相关文章:</code></div> <ul><li><a href="/doc/fbfe9f84d2f34693daef5ef7ba0d4a7302766c6f.html" target="_blank" title="java开发程序员个人简历范文">java开发程序员个人简历范文</a></li><li><a href="/doc/205f68340242a8956aece445.html" target="_blank" title="《java开发》大作业要求">《java开发》大作业要求</a></li><li><a href="/doc/33d8ec131db91a37f111f18583d049649a660e4b.html" target="_blank" title="java后端开发项目经历">java后端开发项目经历</a></li><li><a href="/doc/0ec2f20e081c59eef8c75fbfc77da26924c5960d.html" target="_blank" title="软件开发中的Java开发技术">软件开发中的Java开发技术</a></li><li><a href="/doc/ac966c950a75f46527d3240c844769eae009a32d.html" target="_blank" title="java后端项目开发流程">java后端项目开发流程</a></li><li><a href="/doc/18fa8c8649fe04a1b0717fd5360cba1aa9118c70.html" target="_blank" title="java后端开发工作内容">java后端开发工作内容</a></li><li><a href="/doc/f2e7147c3f1ec5da50e2524de518964bce84d246.html" target="_blank" title="java编程规范-性能篇">java编程规范-性能篇</a></li><li><a href="/doc/1f9b053acf84b9d528ea7af0.html" target="_blank" title="Java代码编写规范(参考)">Java代码编写规范(参考)</a></li><li><a href="/doc/0c910aa1f524ccbff1218495.html" target="_blank" title="Java代码和界面规范">Java代码和界面规范</a></li><li><a href="/doc/3b2fd74cba0d6c85ec3a87c24028915f804d84ed.html" target="_blank" title="Java后端开发框架选择指南">Java后端开发框架选择指南</a></li></ul> </div> <div class="in_reading"><p class="rel_art_line">正在阅读:</p><p><a target="_blank" href="/doc/8d0b7c4bdeccda38376baf1ffc4ffe473368fd05.html" title="java开发规范文档">java开发规范文档</a><span>01-01</span></p><p><a target="_blank" href="/doc/19c2c595d938376baf1ffc4ffe4733687e21fcaa.html" title="以《花落春仍在》为题写作文">以《花落春仍在》为题写作文</a><span>01-01</span></p><p><a target="_blank" href="/doc/156d2019f78a6529647d53ad.html" title="白大褂该不该革去">白大褂该不该革去</a><span>01-01</span></p><p><a target="_blank" href="/doc/00e70f2d757f5acfa1c7aa00b52acfc788eb9f05.html" title="流行好听的经典歌曲有哪些">流行好听的经典歌曲有哪些</a><span>01-01</span></p><p><a target="_blank" href="/doc/332aacf40622192e453610661ed9ad51f11d5440.html" title="电影《狮子王》故事梗概">电影《狮子王》故事梗概</a><span>01-01</span></p><p><a target="_blank" href="/doc/9fb7faf4dc80d4d8d15abe23482fb4daa48d1d8c.html" title="唐诗宋词-冰心散文读后感200字4篇">唐诗宋词-冰心散文读后感200字4篇</a><span>01-01</span></p><p><a target="_blank" href="/doc/b2ec14b52dc58bd63186bceb19e8b8f67c1cefa4.html" title="《给自己一个微笑》作文指导.">《给自己一个微笑》作文指导.</a><span>01-01</span></p><p><a target="_blank" href="/doc/9e325c624935eefdc8d376eeaeaad1f34793117a.html" title="三字经释义">三字经释义</a><span>01-01</span></p><p><a target="_blank" href="/doc/5ecf1190541252d380eb6294dd88d0d232d43c70.html" title="关于我心中祖国的作文1200字-我心中伟大的祖国">关于我心中祖国的作文1200字-我心中伟大的祖国</a><span>01-01</span></p></div> <div class="previous"> <span class="pre">上一篇:<a title="小猪佩奇续写作文600" href="/doc/8d0679c182c758f5f61fb7360b4c2e3f572725af.html">小猪佩奇续写作文600</a></span> <span class="next">下一篇:<a title="房地产营销策划部门分工" href="/doc/28f54eeb4b649b6648d7c1c708a1284ac85005fd.html">房地产营销策划部门分工</a></span> </div> </div> <script type="text/javascript">s();</script> </div> <div class="main-right"> <div class="right_fix"> <script type="text/javascript">s();</script> <div class="right_box"> <span><em></em>相关热搜</span> <ul> <li><a href="/doc/915749105b0216fc700abb68a98271fe900eaf50.html" target="_blank" title="JAVA开发 个人简历模板">JAVA开发 个人简历模板</a></li><li><a href="/doc/3ef14b48edfdc8d376eeaeaad1f34693dbef1000.html" target="_blank" title="java后端开发项目经历简述">java后端开发项目经历简述</a></li><li><a href="/doc/8fa502d2b81aa8114431b90d6c85ec3a86c28b1e.html" target="_blank" title="java开发常用的dos命令">java开发常用的dos命令</a></li><li><a href="/doc/dd11932c6aeae009581b6bd97f1922791688bed8.html" target="_blank" title="java后端开发的工作内容">java后端开发的工作内容</a></li><li><a href="/doc/582299a5cd2f0066f5335a8102d276a2002960cc.html" target="_blank" title="Java中的后端开发技术">Java中的后端开发技术</a></li><li><a href="/doc/2be465316337ee06eff9aef8941ea76e59fa4ab3.html" target="_blank" title="java软件开发工程师个人简历范文">java软件开发工程师个人简历范文</a></li><li><a href="/doc/3fb6e136fc00bed5b9f3f90f76c66137ee064fc8.html" target="_blank" title="java软件开发工程师个人简历范文">java软件开发工程师个人简历范文</a></li><li><a href="/doc/849302b1ba68a98271fe910ef12d2af90342a87a.html" target="_blank" title="JAVA开发个人简历模板">JAVA开发个人简历模板</a></li> </ul> </div><div class="right_box"> <span><em></em>推荐文章</span> <ul> <li><a href="/doc/28f54eeb4b649b6648d7c1c708a1284ac85005fd.html" target="_blank" title="房地产营销策划部门分工">房地产营销策划部门分工</a></li><li><a href="/doc/fd27d7310042a8956bec0975f46527d3240ca682.html" target="_blank" title="房地产营销策划面试问题">房地产营销策划面试问题</a></li><li><a href="/doc/e2909ab466ce0508763231126edb6f1aff0071bd.html" target="_blank" title="怎样做好房地产营销策划工作">怎样做好房地产营销策划工作</a></li><li><a href="/doc/5674cdf9b81aa8114431b90d6c85ec3a86c28bc6.html" target="_blank" title="房产市场营销策划的主要内容是什么?">房产市场营销策划的主要内容是什么?</a></li><li><a href="/doc/8d257c4bdeccda38376baf1ffc4ffe473368fd63.html" target="_blank" title="净水器服务商合作协议样本">净水器服务商合作协议样本</a></li><li><a href="/doc/82050963cb50ad02de80d4d8d15abe23482f039c.html" target="_blank" title="新时代如何弘扬和践行“红船精神”">新时代如何弘扬和践行“红船精神”</a></li><li><a href="/doc/8dabf33d17791711cc7931b765ce0508763275b5.html" target="_blank" title="2020年香坊区事业单位考试《林业基础知识》试题及答案">2020年香坊区事业单位考试《林业基础知识》试题及答案</a></li><li><a href="/doc/8e1409aa01d276a20029bd64783e0912a2167c03.html" target="_blank" title="车间管理年终总结">车间管理年终总结</a></li> </ul> </div> <script type="text/javascript">s();</script> <div class="right_box"> <span><em></em>热门阅读</span> <ul> <li><a href="/doc/8d0679c182c758f5f61fb7360b4c2e3f572725af.html" target="_blank" title="小猪佩奇续写作文600">小猪佩奇续写作文600</a></li><li><a href="/doc/8cf77d4bdeccda38376baf1ffc4ffe473268fd51.html" target="_blank" title="注塑经理岗位职责">注塑经理岗位职责</a></li><li><a href="/doc/fb2aed31ab114431b90d6c85ec3a87c240288a03.html" target="_blank" title="景德镇市2021版七年级下学期期中生物试卷A卷">景德镇市2021版七年级下学期期中生物试卷A卷</a></li><li><a href="/doc/8cf1bd2ecf1755270722192e453610661ed95a68.html" target="_blank" title="班主任的权利与义务">班主任的权利与义务</a></li><li><a href="/doc/fb1cd3c7132de2bd960590c69ec3d5bbfd0ada04.html" target="_blank" title="同北京师范大学师生代表座谈时的讲话">同北京师范大学师生代表座谈时的讲话</a></li><li><a href="/doc/8ce2b418598102d276a20029bd64783e09127dfe.html" target="_blank" title="【解析】天津市河西区2019-2020学年高一上学期期末考试英语试题 ">【解析】天津市河西区2019-2020学年高一上学期期末考试英语试题 </a></li><li><a href="/doc/45e1502f370cba1aa8114431b90d6c85ed3a88da.html" target="_blank" title="有趣的历史小故事两则">有趣的历史小故事两则</a></li><li><a href="/doc/82b593e3f405cc1755270722192e453610665bd1.html" target="_blank" title="东方朔妙计救元宵读后感">东方朔妙计救元宵读后感</a></li> </ul> </div><div class="right_box"> <span><em></em>最新文章</span> <ul> <li><a href="/doc/e90257166094dd88d0d233d4b14e852459fb399e.html" target="_blank" title="劳务派遣和人力资源的区别">劳务派遣和人力资源的区别</a></li><li><a href="/doc/2b5754b2e718964bcf84b9d528ea81c759f52ee5.html" target="_blank" title="ibeacon定位是什么">ibeacon定位是什么</a></li><li><a href="/doc/958e0caa75232f60ddccda38376baf1ffd4fe3b2.html" target="_blank" title="猪用发酵中药饲料优点有哪些">猪用发酵中药饲料优点有哪些</a></li><li><a href="/doc/3233aca2b3717fd5360cba1aa8114431b90d8e80.html" target="_blank" title="目前信用修复手段主要包含哪几种">目前信用修复手段主要包含哪几种</a></li><li><a href="/doc/07edab3ca02d7375a417866fb84ae45c3b35c286.html" target="_blank" title="结构加固费用一般造价">结构加固费用一般造价</a></li><li><a href="/doc/aab887e70142a8956bec0975f46527d3240ca6e5.html" target="_blank" title="通体砖如何选购">通体砖如何选购</a></li><li><a href="/doc/ed61be215222aaea998fcc22bcd126fff6055d9f.html" target="_blank" title="代缴纳社保哪个平台好">代缴纳社保哪个平台好</a></li><li><a href="/doc/b8fbe31368d97f192279168884868762caaebbaa.html" target="_blank" title="想考个家庭教育指导师证书,但是不知道该考哪个,有推荐的吗?">想考个家庭教育指导师证书,但是不知道该考哪个,有推荐的吗?</a></li> </ul> </div> <script type="text/javascript">s();</script> </div> </div> </div> <div class="footer"> <p> Copyright©2006-<script>timestamp2date(1);</script> <a target="_blank" title="文档大全网" href="https://www.wddqw.com/">文档大全网</a> wddqw.com 版权所有 <a target="_blank" href="https://www.wddqw.com/doc/8d0b7c4bdeccda38376baf1ffc4ffe473368fd05.html">手机版</a></p> <p>声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。</p> <p class="gray"><a href="https://www.wddqw.com/doc/update.html" target="_blank">最新更新</a>  |  <a href="https://www.wddqw.com/doc/hot.html" target="_blank">热点专题</a>  |  <a href="https://www.wddqw.com/doc/sitemap.html" target="_blank">网站地图</a>  |  <a href="https://www.wddqw.com/k/" target="_blank">网站主题</a>  |  <a href="https://www.wddqw.com/t/" target="_blank">TAG专题</a>  |  <a href="https://www.wddqw.com/doc/sitemap-index.xml" target="_blank">XML地图</a>  |  <a href="https://www.wddqw.com/doc/sitemap-show.xml" target="_blank">XML更新</a>  |  站长统计<script type="text/javascript">tj();</script></p> </div> <script src="/static/dyfwdq/js/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript"> document.write('<script type="text/javascript" src="/static/dyfwdq/js/pubuliu_wenku.js?'+RAND_STR+'"><\/script>'); document.write('<script type="text/javascript" src="/static/wddqxz/js/lazyimg.js?'+RAND_STR+'"><\/script>'); </script> <script type="text/javascript"> $.ajax({ "url":"https://www.wddqxz.cn/open/doc/readViews.json?id=2DkM", "type":"get", "data":"", "dataType":"json", "success":function(res){ $("#read_views").html(res.data); } }); </script> <script type="text/javascript">bottomAction();</script> </body> </html>