Commit 5acd85a2706aaae4740786577022d2d011ad23c3
1 parent
988defb4a0
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java
View file @
5acd85a
... | ... | @@ -158,8 +158,9 @@ |
158 | 158 | if (todayCount > MAX_TODAY_COUNT) |
159 | 159 | { |
160 | 160 | map.put("errorcode", String.valueOf(ErrorCodeConstants.DATA_EXIST)); |
161 | - map.put("errormsg", measureInfoRequest.getValueType() == 1 | |
162 | - ? "今日测量体重和身高次数已经使用完了!" : "今日测量血压和脉搏次数已经使用完了!"); | |
161 | + map.put("errormsg", "对不起,每天最多可以测量5次,请明天再来吧!"); | |
162 | +// map.put("errormsg", measureInfoRequest.getValueType() == 1 | |
163 | +// ? "今日测量体重和身高次数已经使用完了!" : "今日测量血压和脉搏次数已经使用完了!"); | |
163 | 164 | return map; |
164 | 165 | } |
165 | 166 | model.setTodayCount(todayCount); |