SynZhjInfoMapper.xml 735 Bytes
<?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.pashanhoo.zhj.mapper.SynZhjInfoMapper">

    <select id="selectAllInfo" resultType="com.pashanhoo.zhj.entity.SynZhjInfoDo">
        select * from syn_zhjinfo where ZD_STATE='0' and H_STATE='0' and HQS_STATE='0' and del_flag='0'
    </select>

    <update id="updatezdzt">
        update syn_zhjinfo set ZD_STATE='1' where ywh=#{ywh}
    </update>
    <update id="updateHzt">
        update syn_zhjinfo set H_STATE='1' where ywh=#{ywh}
    </update>
    <update id="updateHqszt">
        update syn_zhjinfo set HQS_STATE='1' where ywh=#{ywh}
    </update>
</mapper>