admin
2021-06-29 9577602ea5616f34688f57ce9fd4d601ee3502d8
src/main/java/org/yeshi/utils/generater/mybatis/MyBatisMapperUtil.java
@@ -159,6 +159,20 @@
         select.addText(String.format("from %s where %s = #{%s,jdbcType=BIGINT}", tableName, idKeys.column,
               idKeys.attribute));
         select = root.addElement("select");
         select.addAttribute("id", "selectByPrimaryKeyForUpdate");
         select.addAttribute("resultMap", "BaseResultMap");
         select.addAttribute("parameterType", "java.lang.Long");
         select.addText("select");
          include = select.addElement("include");
         include.addAttribute("refid", "Base_Column_List");
         select.addText(String.format("from %s where %s = #{%s,jdbcType=BIGINT} for update", tableName, idKeys.column,
               idKeys.attribute));
         org.dom4j.Element delete = root.addElement("delete");
         delete.addAttribute("id", "deleteByPrimaryKey");
         delete.addAttribute("parameterType", "java.lang.Long");