ZKJDCX_Mapper.xml 501 B

123456789101112131415161718
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
  4. "http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd">
  5. <mapper namespace="ZKJDCX">
  6. <select id="CJSJ_S" resultType="String" parameterType="hashmap">
  7. select max(b.BAE003) cjsj
  8. from ac01 a ,v_appcomm_slxx b
  9. where a.ztid=b.ZTID
  10. and b.BLZT='02'
  11. and b.SBSX='4408005601'
  12. and (a.aac002= #{SHBZH} or a.aac147= #{SHBZH} )
  13. </select>
  14. </mapper>