Commit 32f43c4a52e356c0a0a4a22ea1dad568f470c8cb
1 parent
80c377a137
Exists in
master
and in
8 other branches
1
Showing 1 changed file with 3 additions and 0 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/ApplyOrderService.java
View file @
32f43c4
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | import org.springframework.data.domain.Sort; |
| 17 | 17 | import org.springframework.stereotype.Service; |
| 18 | 18 | |
| 19 | +import java.util.Date; | |
| 19 | 20 | import java.util.List; |
| 20 | 21 | |
| 21 | 22 | /** |
| ... | ... | @@ -33,6 +34,8 @@ |
| 33 | 34 | private ISieveApplyOrderDao iSieveApplyOrderDao; |
| 34 | 35 | |
| 35 | 36 | public ReferralApplyOrderModel addOneReferralApplyOrder(ReferralApplyOrderModel obj){ |
| 37 | + obj.setCreated(new Date()); | |
| 38 | + obj.setStatus(1); | |
| 36 | 39 | return iReferralApplyOrderDao.addReferralApplyOrder(obj); |
| 37 | 40 | } |
| 38 | 41 |