Commit 6f623672c7dfec035f51ef98ab6db2f6320ffb7e
1 parent
9753c2b5ce
Exists in
master
and in
2 other branches
修改方法
Showing 1 changed file with 21 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/FunvCommonUtil.java
View file @
6f62367
| ... | ... | @@ -269,6 +269,8 @@ |
| 269 | 269 | public static final String RUOYANG = "ruoyang"; |
| 270 | 270 | public static final String SPLIT = "split"; |
| 271 | 271 | public static final String FULL = "full"; |
| 272 | + public static final String ZIMIAN = "ziMian"; | |
| 273 | + public static final String MUMIAN = "muMian"; | |
| 272 | 274 | |
| 273 | 275 | public static final String JIA = "+"; |
| 274 | 276 | public static final String JIAN = "-"; |
| 275 | 277 | |
| ... | ... | @@ -276,10 +278,26 @@ |
| 276 | 278 | public static final String WZ = "完整"; |
| 277 | 279 | public static final String QK = "切开"; |
| 278 | 280 | |
| 281 | + public static final String ZM = "子面"; | |
| 282 | + public static final String MM = "母面"; | |
| 283 | + | |
| 279 | 284 | public static final String ONE = "Ⅰ度"; |
| 280 | 285 | public static final String TWO = "Ⅱ度"; |
| 281 | 286 | public static final String THREE = "Ⅲ度"; |
| 282 | 287 | |
| 288 | + public static String checkMianChuFS(String s) { | |
| 289 | + if (StringUtils.isEmpty(s)){ | |
| 290 | + return ""; | |
| 291 | + } | |
| 292 | + if (s.equals(ZIMIAN)){ | |
| 293 | + return ZM; | |
| 294 | + }else if (s.equals(MUMIAN)){ | |
| 295 | + return MM; | |
| 296 | + }else { | |
| 297 | + return ""; | |
| 298 | + } | |
| 299 | + } | |
| 300 | + | |
| 283 | 301 | public static String checkSiLieLevel(Integer s) { |
| 284 | 302 | if (s==null){ |
| 285 | 303 | return ""; |
| 286 | 304 | |
| ... | ... | @@ -307,8 +325,10 @@ |
| 307 | 325 | } |
| 308 | 326 | if (s.equals(SPLIT)){ |
| 309 | 327 | return QK; |
| 310 | - }else { | |
| 328 | + }else if (s.equals(FULL)){ | |
| 311 | 329 | return WZ; |
| 330 | + }else { | |
| 331 | + return ""; | |
| 312 | 332 | } |
| 313 | 333 | } |
| 314 | 334 |