Commit a4ed4fe1 authored by 胡小根's avatar 胡小根

coding

parent 28a0fc26
......@@ -40,7 +40,7 @@ public class MybatisExampleHelper {
*/
public static String getFilterFuncName(String column, String condition){
return "and"
+ column.substring(0,1).toUpperCase() + column.substring(1)
+ CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.UPPER_CAMEL, column)
+ CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, condition);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment