| | |
| | | } |
| | | |
| | | public static String getTableName(String btmname) { |
| | | return (VciQueryWrapperForDO.USER_TABLE_COMPATIBILITY ? "vcibt_" : "pl_code_") + btmname.trim().toLowerCase(); |
| | | return (VciQueryWrapperForDO.USER_TABLE_COMPATIBILITY ? "PLBT_CODE" : "PL_CODE_") + btmname.trim().toLowerCase(); |
| | | } |
| | | |
| | | public static String getTableName(String btmname,Boolean isMdmTable) { |
| | | return (isMdmTable ? "PLBT_CODE_" : "PL_CODE_") + btmname.trim().toLowerCase(); |
| | | } |
| | | |
| | | public static Field getTsField(Class c) { |
| | |
| | | |
| | | return sb.toString(); |
| | | } |
| | | |
| | | public static String intToRomans(int num) { |
| | | String M[] = {"", "M", "MM", "MMM"}; |
| | | String C[] = {"", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"}; |
| | | String X[] = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"}; |
| | | String I[] = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"}; |
| | | return M[num/1000]+C[(num%1000)/100]+X[(num%100)/10]+I[num%10]; |
| | | } |
| | | } |
| | | |