输入banner图图片脚本导航/分类

【数据库_Postgresql】实体类映射问题之不执行sql语句

1 = 1 <if test="dictionarycode !=null and dictionarycode != ‘‘ "> AND dictionarycode = #{dictionarycode,jdbcType=VARCHAR} </if> </select>

现在代码:

<select id="queryByPrimaryKey" parameterType="java.lang.String" resultType="com.suneee.scn.chtpub.wms.model.DictionaryDO">
         SELECT
                dictionarycode,
                dictionaryname,
                nextvalue,
                mark
         FROM
                sp_wms_dictionary 
         WHERE
                1 = 1
         AND    dictionarycode = #{dictionarycode,jdbcType=VARCHAR}
         
  </select>

 

【数据库_Postgresql】实体类映射问题之不执行sql语句

标签:class   type   lan   sql语句   and   rom   后台   ice   dict