| Package | Description |
|---|---|
| bap.pp.core.duty.controller | |
| bap.pp.core.duty.service | |
| bap.pp.core.staff.domain |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
DutyRESTController.post(Duty duty)
创建
|
org.springframework.http.ResponseEntity<java.lang.String> |
DutyRESTController.put(Duty duty)
修改
|
| Modifier and Type | Method and Description |
|---|---|
Duty |
DutyService.get(java.lang.String id)
取得单条数据
|
Duty |
DutyService.post(Duty duty)
创建
|
Duty |
DutyService.put(Duty duty)
修改
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Duty> |
DutyService.getList()
读取所有职位
|
| Modifier and Type | Method and Description |
|---|---|
Duty |
DutyService.post(Duty duty)
创建
|
java.lang.String |
DutyService.post2JSON(Duty duty)
创建, 转为json格式字符串
|
Duty |
DutyService.put(Duty duty)
修改
|
java.lang.String |
DutyService.put2JSON(Duty duty)
修改, 转为json格式字符串
|
| Modifier and Type | Method and Description |
|---|---|
Duty |
Staff.getDuty() |
| Modifier and Type | Method and Description |
|---|---|
void |
Staff.setDuty(Duty duty) |