|
|
|
@ -4,7 +4,8 @@
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
|
|
<result column="flow_id" jdbcType="VARCHAR" property="flowId" />
|
|
|
|
|
<result column="allotment_object_code" jdbcType="INTEGER" property="allotmentObjectCode" />
|
|
|
|
|
<result column="allotment_object_code" jdbcType="VARCHAR" property="allotmentObjectCode" />
|
|
|
|
|
<result column="allotment_object_name" jdbcType="VARCHAR" property="allotmentObjectName" />
|
|
|
|
|
<result column="objectivity_evaluation" jdbcType="VARCHAR" property="objectivityEvaluation" />
|
|
|
|
|
<result column="valuation_method_rationality_evaluation" jdbcType="VARCHAR" property="valuationMethodRationalityEvaluation" />
|
|
|
|
|
<result column="overall_evaluation" jdbcType="INTEGER" property="overallEvaluation" />
|
|
|
|
@ -16,6 +17,7 @@
|
|
|
|
|
<result column="custodian_seat" jdbcType="VARCHAR" property="custodianSeat" />
|
|
|
|
|
<result column="voluntary_lockup" jdbcType="TINYINT" property="voluntaryLockup" />
|
|
|
|
|
<result column="total_amount" jdbcType="DECIMAL" property="totalAmount" />
|
|
|
|
|
<result column="submission_time" jdbcType="TIMESTAMP" property="submissionTime" />
|
|
|
|
|
<result column="status" jdbcType="VARCHAR" property="status" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
@ -80,9 +82,10 @@
|
|
|
|
|
</where>
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id, flow_id, allotment_object_code, objectivity_evaluation, valuation_method_rationality_evaluation,
|
|
|
|
|
overall_evaluation, operator, operator_phone, declaration_price, intended_subscription_quantity,
|
|
|
|
|
securities_account, custodian_seat, voluntary_lockup, total_amount, status
|
|
|
|
|
id, flow_id, allotment_object_code, allotment_object_name, objectivity_evaluation,
|
|
|
|
|
valuation_method_rationality_evaluation, overall_evaluation, operator, operator_phone,
|
|
|
|
|
declaration_price, intended_subscription_quantity, securities_account, custodian_seat,
|
|
|
|
|
voluntary_lockup, total_amount, submission_time, status
|
|
|
|
|
</sql>
|
|
|
|
|
<sql id="Blob_Column_List">
|
|
|
|
|
remark
|
|
|
|
@ -137,18 +140,20 @@
|
|
|
|
|
</delete>
|
|
|
|
|
<insert id="insert" parameterType="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
|
insert into inquiry_participation (id, flow_id, allotment_object_code,
|
|
|
|
|
objectivity_evaluation, valuation_method_rationality_evaluation,
|
|
|
|
|
overall_evaluation, operator, operator_phone,
|
|
|
|
|
declaration_price, intended_subscription_quantity,
|
|
|
|
|
securities_account, custodian_seat, voluntary_lockup,
|
|
|
|
|
total_amount, status, remark
|
|
|
|
|
allotment_object_name, objectivity_evaluation,
|
|
|
|
|
valuation_method_rationality_evaluation, overall_evaluation,
|
|
|
|
|
operator, operator_phone, declaration_price,
|
|
|
|
|
intended_subscription_quantity, securities_account,
|
|
|
|
|
custodian_seat, voluntary_lockup, total_amount,
|
|
|
|
|
submission_time, status, remark
|
|
|
|
|
)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
#{objectivityEvaluation,jdbcType=VARCHAR}, #{valuationMethodRationalityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
#{overallEvaluation,jdbcType=INTEGER}, #{operator,jdbcType=VARCHAR}, #{operatorPhone,jdbcType=VARCHAR},
|
|
|
|
|
#{declarationPrice,jdbcType=DECIMAL}, #{intendedSubscriptionQuantity,jdbcType=DECIMAL},
|
|
|
|
|
#{securitiesAccount,jdbcType=VARCHAR}, #{custodianSeat,jdbcType=VARCHAR}, #{voluntaryLockup,jdbcType=TINYINT},
|
|
|
|
|
#{totalAmount,jdbcType=DECIMAL}, #{status,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}, #{allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
#{allotmentObjectName,jdbcType=VARCHAR}, #{objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
#{valuationMethodRationalityEvaluation,jdbcType=VARCHAR}, #{overallEvaluation,jdbcType=INTEGER},
|
|
|
|
|
#{operator,jdbcType=VARCHAR}, #{operatorPhone,jdbcType=VARCHAR}, #{declarationPrice,jdbcType=DECIMAL},
|
|
|
|
|
#{intendedSubscriptionQuantity,jdbcType=DECIMAL}, #{securitiesAccount,jdbcType=VARCHAR},
|
|
|
|
|
#{custodianSeat,jdbcType=VARCHAR}, #{voluntaryLockup,jdbcType=TINYINT}, #{totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
#{submissionTime,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{remark,jdbcType=LONGVARCHAR}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
@ -163,6 +168,9 @@
|
|
|
|
|
<if test="allotmentObjectCode != null">
|
|
|
|
|
allotment_object_code,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="allotmentObjectName != null">
|
|
|
|
|
allotment_object_name,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="objectivityEvaluation != null">
|
|
|
|
|
objectivity_evaluation,
|
|
|
|
|
</if>
|
|
|
|
@ -196,6 +204,9 @@
|
|
|
|
|
<if test="totalAmount != null">
|
|
|
|
|
total_amount,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="submissionTime != null">
|
|
|
|
|
submission_time,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="status != null">
|
|
|
|
|
status,
|
|
|
|
|
</if>
|
|
|
|
@ -211,7 +222,10 @@
|
|
|
|
|
#{flowId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="allotmentObjectCode != null">
|
|
|
|
|
#{allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
#{allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="allotmentObjectName != null">
|
|
|
|
|
#{allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="objectivityEvaluation != null">
|
|
|
|
|
#{objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
@ -246,6 +260,9 @@
|
|
|
|
|
<if test="totalAmount != null">
|
|
|
|
|
#{totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="submissionTime != null">
|
|
|
|
|
#{submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="status != null">
|
|
|
|
|
#{status,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -270,7 +287,10 @@
|
|
|
|
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.allotmentObjectCode != null">
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.allotmentObjectName != null">
|
|
|
|
|
allotment_object_name = #{record.allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.objectivityEvaluation != null">
|
|
|
|
|
objectivity_evaluation = #{record.objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
@ -305,6 +325,9 @@
|
|
|
|
|
<if test="record.totalAmount != null">
|
|
|
|
|
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.submissionTime != null">
|
|
|
|
|
submission_time = #{record.submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.status != null">
|
|
|
|
|
status = #{record.status,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -320,7 +343,8 @@
|
|
|
|
|
update inquiry_participation
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_name = #{record.allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
objectivity_evaluation = #{record.objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
valuation_method_rationality_evaluation = #{record.valuationMethodRationalityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
overall_evaluation = #{record.overallEvaluation,jdbcType=INTEGER},
|
|
|
|
@ -332,6 +356,7 @@
|
|
|
|
|
custodian_seat = #{record.custodianSeat,jdbcType=VARCHAR},
|
|
|
|
|
voluntary_lockup = #{record.voluntaryLockup,jdbcType=TINYINT},
|
|
|
|
|
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
submission_time = #{record.submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
status = #{record.status,jdbcType=VARCHAR},
|
|
|
|
|
remark = #{record.remark,jdbcType=LONGVARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
@ -342,7 +367,8 @@
|
|
|
|
|
update inquiry_participation
|
|
|
|
|
set id = #{record.id,jdbcType=VARCHAR},
|
|
|
|
|
flow_id = #{record.flowId,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{record.allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_name = #{record.allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
objectivity_evaluation = #{record.objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
valuation_method_rationality_evaluation = #{record.valuationMethodRationalityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
overall_evaluation = #{record.overallEvaluation,jdbcType=INTEGER},
|
|
|
|
@ -354,6 +380,7 @@
|
|
|
|
|
custodian_seat = #{record.custodianSeat,jdbcType=VARCHAR},
|
|
|
|
|
voluntary_lockup = #{record.voluntaryLockup,jdbcType=TINYINT},
|
|
|
|
|
total_amount = #{record.totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
submission_time = #{record.submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
status = #{record.status,jdbcType=VARCHAR}
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
|
@ -366,7 +393,10 @@
|
|
|
|
|
flow_id = #{flowId,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="allotmentObjectCode != null">
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="allotmentObjectName != null">
|
|
|
|
|
allotment_object_name = #{allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="objectivityEvaluation != null">
|
|
|
|
|
objectivity_evaluation = #{objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
@ -401,6 +431,9 @@
|
|
|
|
|
<if test="totalAmount != null">
|
|
|
|
|
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="submissionTime != null">
|
|
|
|
|
submission_time = #{submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="status != null">
|
|
|
|
|
status = #{status,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
@ -413,7 +446,8 @@
|
|
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
|
update inquiry_participation
|
|
|
|
|
set flow_id = #{flowId,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_name = #{allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
objectivity_evaluation = #{objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
valuation_method_rationality_evaluation = #{valuationMethodRationalityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
overall_evaluation = #{overallEvaluation,jdbcType=INTEGER},
|
|
|
|
@ -425,6 +459,7 @@
|
|
|
|
|
custodian_seat = #{custodianSeat,jdbcType=VARCHAR},
|
|
|
|
|
voluntary_lockup = #{voluntaryLockup,jdbcType=TINYINT},
|
|
|
|
|
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
submission_time = #{submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
status = #{status,jdbcType=VARCHAR},
|
|
|
|
|
remark = #{remark,jdbcType=LONGVARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
@ -432,7 +467,8 @@
|
|
|
|
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.fund_investment.entity.InquiryParticipation">
|
|
|
|
|
update inquiry_participation
|
|
|
|
|
set flow_id = #{flowId,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=INTEGER},
|
|
|
|
|
allotment_object_code = #{allotmentObjectCode,jdbcType=VARCHAR},
|
|
|
|
|
allotment_object_name = #{allotmentObjectName,jdbcType=VARCHAR},
|
|
|
|
|
objectivity_evaluation = #{objectivityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
valuation_method_rationality_evaluation = #{valuationMethodRationalityEvaluation,jdbcType=VARCHAR},
|
|
|
|
|
overall_evaluation = #{overallEvaluation,jdbcType=INTEGER},
|
|
|
|
@ -444,6 +480,7 @@
|
|
|
|
|
custodian_seat = #{custodianSeat,jdbcType=VARCHAR},
|
|
|
|
|
voluntary_lockup = #{voluntaryLockup,jdbcType=TINYINT},
|
|
|
|
|
total_amount = #{totalAmount,jdbcType=DECIMAL},
|
|
|
|
|
submission_time = #{submissionTime,jdbcType=TIMESTAMP},
|
|
|
|
|
status = #{status,jdbcType=VARCHAR}
|
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
|
</update>
|
|
|
|
|