这个mapperxml文件有什么问题parameterType=javalangString有必要写吗 select id=getByInstIdByName parameterType=javalangString resultType=comredxunbpmcoreentityBpmInstLog select from bpm_inst_log where inst_
这个mapper.xml文件的问题是parameterType="java.lang.String"不必要写。由于该查询语句中并没有使用到java.lang.String类型的参数,因此在parameterType中指定该类型是多余的。可以将parameterType移除或者修改为合适的类型。
原文地址: https://www.cveoy.top/t/topic/h8tK 著作权归作者所有。请勿转载和采集!