| | |
| | | <result column="fix_time" property="fixTime" /> |
| | | <result column="remarks" property="remarks" /> |
| | | <result column="type" property="type" /> |
| | | <result column="db_money" property="dbMoney"/> |
| | | </resultMap> |
| | | |
| | | <sql id="Base_Column_List"> |
| | |
| | | end_time, |
| | | fix_time, |
| | | remarks, |
| | | type |
| | | type, |
| | | db_money |
| | | </sql> |
| | | |
| | | <insert id="insert1" useGeneratedKeys="true" keyColumn="id" keyProperty="id" parameterType="com.nq.pojo.UserStockSubscribe"> |
| | |
| | | </update> |
| | | |
| | | |
| | | <select id="load" resultMap="BaseResultMap"> |
| | | SELECT <include refid="Base_Column_List" /> |
| | | FROM user_stock_subscribe |
| | | <select id="load" resultType="com.nq.pojo.UserStockSubscribe" parameterType="int"> |
| | | SELECT * FROM user_stock_subscribe |
| | | WHERE id = #{id} |
| | | </select> |
| | | |