admin
2022-03-30 5b8652e758962234752b2d5c6380cdd2833033d4
src/main/java/org/yeshi/utils/generater/mybatis/ColumnUtil.java
@@ -143,11 +143,11 @@
                     int wpos = value.indexOf("where ");
                     if (value.substring(0, wpos).trim().endsWith(","))
                        value = value.substring(0, wpos)
                              + String.format("%s =#{%s,jdbcType=%s}", columnName, property, type) + " "
                              + String.format("%s =#{%s,jdbcType=%s},", columnName, property, type) + " "
                              + value.substring(wpos);
                     else
                        value = value.substring(0, wpos) + ","
                              + String.format("%s =#{%s,jdbcType=%s}", columnName, property, type) + " "
                              + String.format("%s =#{%s,jdbcType=%s},", columnName, property, type) + " "
                              + value.substring(wpos);
                     e.setText(value);