|
@@ -24,6 +24,7 @@
|
|
|
<result column="current_amount_" property="currentAmount"/>
|
|
|
<result column="del_flag_" property="delFlag"/>
|
|
|
<result column="cause_" property="cause"/>
|
|
|
+ <result column="aproval_time_" property="aprovalTime"/>
|
|
|
<result column="create_time_" property="createTime"/>
|
|
|
<result column="update_time_" property="updateTime"/>
|
|
|
<result column="tenant_id_" property="tenantId" />
|
|
@@ -50,12 +51,13 @@
|
|
|
keyProperty="id">
|
|
|
INSERT INTO financial_expenditure (batch_no_, financial_process_no_, dingtalk_process_no_,
|
|
|
process_id_,organ_id_, cooperation_organ_id_, apply_user_, apply_user_id_, amount_, item_detail_,
|
|
|
- payment_time_, cause_, create_time_, update_time_, fee_project_, type_, tenant_id_,student_id_,effective_time_)
|
|
|
+ payment_time_, cause_, create_time_, update_time_, fee_project_, type_,
|
|
|
+ tenant_id_,student_id_,effective_time_,aproval_time_)
|
|
|
VALUES (#{batchNo}, #{financialProcessNo}, #{dingtalkProcessNo},#{processId}, #{organId}, #{cooperationOrganId},
|
|
|
#{applyUser}, #{applyUserId}, #{amount},
|
|
|
#{itemDetail}, #{paymentTime}, #{cause}, now(), now(),
|
|
|
#{feeProject,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
- #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{tenantId},#{studentId},#{effectiveTime})
|
|
|
+ #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{tenantId},#{studentId},#{effectiveTime},#{aprovalTime})
|
|
|
</insert>
|
|
|
|
|
|
<insert id="batchInsert" parameterType="com.ym.mec.biz.dal.entity.FinancialExpenditure" useGeneratedKeys="true"
|
|
@@ -63,14 +65,14 @@
|
|
|
keyProperty="id">
|
|
|
INSERT INTO financial_expenditure (batch_no_,financial_process_no_,dingtalk_process_no_,
|
|
|
process_id_,organ_id_,cooperation_organ_id_,apply_user_,amount_,item_detail_,payment_time_,
|
|
|
- cause_,create_time_,update_time_,fee_project_,type_,tenant_id_,student_id_,effective_time_)
|
|
|
+ cause_,create_time_,update_time_,fee_project_,type_,tenant_id_,student_id_,effective_time_,aproval_time_)
|
|
|
VALUES
|
|
|
<foreach collection="financialExpenditures" item="item" separator=",">
|
|
|
(#{item.batchNo},#{item.financialProcessNo},#{item.dingtalkProcessNo},#{item.processId},#{item.organId},
|
|
|
#{item.cooperationOrganId},#{item.applyUser},#{item.amount},
|
|
|
#{item.itemDetail},#{item.paymentTime},#{item.cause},now(),now(),
|
|
|
#{item.feeProject,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},
|
|
|
- #{item.type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{item.tenantId},#{item.studentId},#{effectiveTime})
|
|
|
+ #{item.type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{item.tenantId},#{item.studentId},#{effectiveTime},#{aprovalTime})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
@@ -232,6 +234,7 @@
|
|
|
<result property="process" column="process"/>
|
|
|
<result property="title" column="title"/>
|
|
|
<result property="deptId" column="dept_id"/>
|
|
|
+ <result property="updateTime" column="update_time"/>
|
|
|
</resultMap>
|
|
|
<select id="getWorkOrderInfo" resultMap="PWorkOrderInfo">
|
|
|
SELECT woi.*,su.mec_user_id FROM oa_pro.p_work_order_info woi
|