You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
2.3 KiB
48 lines
2.3 KiB
1 year ago
|
<?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.example.guoyan.mapper.OtherMapper">
|
||
|
<update id="updateScXMkp1_yptbh_ByPjid" parameterType="Map">
|
||
|
update sc_xmkp1 set yptbh = #{yptbh} where id = #{id}
|
||
|
</update>
|
||
|
<select id="selectScXMkp1_yptbh_ByPjid" resultType="Map">
|
||
|
select yptbh from sc_xmkp1 where id = #{projectID}
|
||
|
</select>
|
||
|
<update id="updateScHTLC_yptbh_ByPjid" parameterType="Map">
|
||
|
update sc_htlc set yptbh = #{yptbh} where id = #{id}
|
||
|
</update>
|
||
|
<select id="selectScHTLC_yptbh_ByPjid" resultType="Map">
|
||
|
select yptbh from sc_htlc where id = #{contractId}
|
||
|
</select>
|
||
|
|
||
|
<select id="selectXmAmount" resultType="String">
|
||
|
select case when htje is null or htje =0.00 THEN fyys
|
||
|
else htje end as htje from sc_xmkp1 where id = #{id};
|
||
|
</select>
|
||
|
<select id="selectFileById" resultType="Map">
|
||
|
select filename,filepath,filetype from attach where id = #{id}
|
||
|
</select>
|
||
|
<update id="updateScKpsqsp_yptbh_Byid" parameterType="Map">
|
||
|
update sc_kpsqsp set yptbh = #{yptbh} where id = #{id}
|
||
|
</update>
|
||
|
<select id="selectScKpsqsp_yptbh_ByPjid" resultType="Map">
|
||
|
select yptbh from sc_kpsqsp where id = #{id}
|
||
|
</select>
|
||
|
<select id="selectScKpsqsp_yptbh_Byreqid" resultType="Map">
|
||
|
select yptbh from sc_kpsqsp where requestid = #{requestid}
|
||
|
</select>
|
||
|
<update id="updateScKpcwqrsr_incomeId_Byid" parameterType="Map">
|
||
|
update sc_kpcwqrsr set incomeId = #{incomeId} where lcid = #{lcid}
|
||
|
</update>
|
||
|
<select id="selectScKpcwqrsr_incomeId_Bylcid" resultType="Map">
|
||
|
select DISTINCT incomeId from sc_kpsqsp where id = #{lcid}
|
||
|
</select>
|
||
|
<update id="updateScKpsqsp_accountId_Byid" parameterType="Map">
|
||
|
update sc_kpsqsp set accountId = #{accountId} where id = #{id}
|
||
|
</update>
|
||
|
<select id="selectScKpcwqrsr_accountId_Bylcid" resultType="Map">
|
||
|
select DISTINCT accountId from sc_kpsqsp where id = #{id}
|
||
|
</select>
|
||
|
<select id="selectProcessNo5IsSubmit" resultType="Map">
|
||
|
SELECT * FROM requestoperator WHERE requestid=(select DISTINCT requestid from sc_kpsqsp where id =#{reqid}) and stepid =#{setpid} and isSubmit =1
|
||
|
</select>
|
||
|
</mapper>
|