otc-stock-jour-mapper.xml 536 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">

<!-- 当日确权记录 @author tongxiaochuan -->
<mapper namespace="com.cjs.cms.dao.ration.OtcStockJourDao">

	<select id="queryRecordExist" parameterType="map" resultType="int">
		select count(1) from hs_asset.otcstockjour t 
		where t.client_id = #{userId} and t.otc_code = #{otcCode} 
		and t.occur_amount = #{stockAmount} and t.business_flag = #{businessFlag}
	</select>
		
</mapper>