21 lines
1004 B
XML
Raw Normal View History

2025-09-29 10:35:58 +08:00
<?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.czlis.interfaceCommon.mapper.LabPatfeeMapper">
<select id="getLabPatfee" resultType="com.czlis.common.core.domain.entity.lis.LabPatfee">
select * from lab_patfee where jyrq=#{jyrq} and yq=#{yq} and yq=#{ybh}
</select>
<select id="getLabPatfeeBysqh" resultType="com.czlis.common.core.domain.entity.lis.LabPatfee">
select * from lab_patfee where sqh=#{sqh}
</select>
<insert id="insertLabPatfee">
INSERT INTO lab_patfee (jyrq, yq, ybh, sqh)values(#{jyrq},#{yq},#{ybh},#{sqh})
</insert>
<insert id="deleteLabPatfee">
delete from lab_patfee WHERE jyrq = #{jyrq} and yq = #{yq} and ybh = #{ybh}
</insert>
<update id="updateLabPatfee">
update lab_patfee set sqh=#{sqh} where jyrq = #{jyrq} and yq = #{yq} and ybh = #{ybh}
</update>
</mapper>