多单位版国产化地质资料管理系统
zs
2026-02-04 fe02f176b512a9d6a4e12437d929e04e99bb7567
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zbooksoft.gdmis.dao.PhysicalFormMapper">
    <select id="selectMaxApplyCode" parameterType="String" resultType="String">
        select max(apply_code)
        FROM UTL_PHYSICAL_FORM
        WHERE apply_code like CONCAT_WS('%', #{preNum,jdbcType=VARCHAR}, '%')
    </select>
 
    <select id="selectMaxApplyCode" parameterType="String" resultType="String" databaseId="oracle">
        select max(apply_code)
        FROM UTL_PHYSICAL_FORM
        WHERE  apply_code like '%' || #{preNum,jdbcType=VARCHAR} || '%'
    </select>
</mapper>