Commit c869f9b6aacb0f22a290e0a7eb1f08bd44c17cc7
1 parent
5fcefa8179
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 6 additions and 0 deletions
platform-msg-generate/src/main/java/com/lyms/platform/msg/utils/HelperUtils.java
View file @
c869f9b
... | ... | @@ -12,6 +12,8 @@ |
12 | 12 | import com.lyms.platform.query.BabyModelQuery; |
13 | 13 | import com.lyms.platform.query.PatientsQuery; |
14 | 14 | import org.apache.commons.collections.CollectionUtils; |
15 | +import org.slf4j.Logger; | |
16 | +import org.slf4j.LoggerFactory; | |
15 | 17 | |
16 | 18 | import java.util.Date; |
17 | 19 | import java.util.List; |
... | ... | @@ -22,6 +24,8 @@ |
22 | 24 | */ |
23 | 25 | public class HelperUtils { |
24 | 26 | |
27 | + private static final Logger logger = LoggerFactory.getLogger(HelperUtils.class); | |
28 | + | |
25 | 29 | public static int getWeekNum(List<String> guideTimes,String week) |
26 | 30 | { |
27 | 31 | int weekNum = 0; |
... | ... | @@ -74,6 +78,8 @@ |
74 | 78 | request.setKeyword1(keyWord1); |
75 | 79 | request.setKeyword2(keyWord2); |
76 | 80 | request.setRemark(remark); |
81 | + | |
82 | + logger.info("msg info ="+request.toString()); | |
77 | 83 | |
78 | 84 | return request; |
79 | 85 | } |