文件名称:j123
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:826byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一、责任链模式
现有 “战士”、“班长”、“排长”、“连长”,“营长”五种角色,当有人要请假时要进行以下处理
1.只能是下级象上级请假(如“排长”只能向“连长请假”)
2.班长可以批准1天内的假期,排长批5天,连长批10天,营长批20天,20以上不准假
请用责任链模式处理以下情况,输出具体的批准过程:
1.战士请12天假
2.排长请3天假
-First, the existing chain of responsibility pattern of " fighters" , " squad leader" , " platoon" , " company commander" , " battalion commander" five roles, when it was time to leave to carry out the following 1. Can only be lower, as higher levels leave (such as " platoon leader," only to " leave the company commander" ) 2. The squad leader can be approved within 1 day of the holiday, five days a platoon leader of the grant, the company commander approved 10 days, battalion commander approved 20 days, more than 20 are not allowed to leave, please chain model to deal with the responsibility of the following circumstances, the output of specific approval process: 1. soldiers requested 12 days leave 2. 3 days, please leave a platoon leader
现有 “战士”、“班长”、“排长”、“连长”,“营长”五种角色,当有人要请假时要进行以下处理
1.只能是下级象上级请假(如“排长”只能向“连长请假”)
2.班长可以批准1天内的假期,排长批5天,连长批10天,营长批20天,20以上不准假
请用责任链模式处理以下情况,输出具体的批准过程:
1.战士请12天假
2.排长请3天假
-First, the existing chain of responsibility pattern of " fighters" , " squad leader" , " platoon" , " company commander" , " battalion commander" five roles, when it was time to leave to carry out the following 1. Can only be lower, as higher levels leave (such as " platoon leader," only to " leave the company commander" ) 2. The squad leader can be approved within 1 day of the holiday, five days a platoon leader of the grant, the company commander approved 10 days, battalion commander approved 20 days, more than 20 are not allowed to leave, please chain model to deal with the responsibility of the following circumstances, the output of specific approval process: 1. soldiers requested 12 days leave 2. 3 days, please leave a platoon leader
相关搜索: 请假
(系统自动生成,下载前可以参看下载内容)
下载文件列表
j123.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.