国研共享云平台开票接口开发
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.

68 lines
3.2 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">
1 year ago
select DISTINCT incomeId from sc_kpcwqrsr where lcid = #{lcid}
1 year ago
</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>
1 year ago
<select id="selectSchtqxByflag" resultType="Map">
select
a.id,
(select yptbh from sc_xmkp1 b where b.id = a.xmmc ) yptbh
from sc_htqx a
where
sfqx='2c9a59b68b9fd59d018cfdfe5abb5e0a' and status is null
</select>
<update id="updateSchtqx_Byid" parameterType="Map">
update sc_htqx set status =1 where id = #{id}
</update>
<update id="updateRequeststatusBack" parameterType="Map">
update requeststatus set stepid = #{creatorId},
preStepid =#{preStepid},
modifyDate =#{modifyDate},
WHERE requestid=(select DISTINCT requestid from sc_kpsqsp where id =#{reqid})
</update>
<delete id="delPermissionuserBack" parameterType="Map">
DELETE from Permissionuser where resid = #{resid} and staffid = #{staffid} and operate=1
</delete>
1 year ago
</mapper>