Commit a1a21250 by hongzhong

Merge remote-tracking branch 'origin/dev_20210330' into dev_20210330

parents b100e14f eb593662
......@@ -81,8 +81,10 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
for (ComeCommissionVO item : list) {
if ("1".equals(item.getCommissionType())) {
dropOption = systemConfigService.getDropOption("Base_Commission_Item", item.getCommissionItem());
item.setCommissionTypeName("基础来佣");
} else {
dropOption = systemConfigService.getDropOption("Special_Commission_Type", item.getCommissionItem());
item.setCommissionTypeName("特殊激励来佣");
}
if (dropOption != null) {
item.setCommissionItemName(dropOption.getDropOptionName());
......
......@@ -20,4 +20,9 @@ public interface AgPoInformedMapper {
List<AgPoInformed> selectByRecord(AgPoInformed record);
String getNextInformedNo();
void insertInformedSheet(AgPoInformed record);
void deletePoPolicyOfflineUploadByPolicyNo(String policyNo);
}
\ No newline at end of file
......@@ -797,5 +797,11 @@
and id = #{id,jdbcType=BIGINT}
</if>
<if test="role != null">
and `role` = #{role,jdbcType=INTEGER}
</if>
<if test="isActive != null">
and is_active = #{isActive,jdbcType=INTEGER}
</if>
</select>
</mapper>
</mapper>
\ No newline at end of file
......@@ -259,4 +259,21 @@
<select id="getNextInformedNo" resultType="java.lang.String" statementType="CALLABLE">
select f_getNextInformedNo()
</select>
<insert id="insertInformedSheet" parameterType="com.yd.dal.entity.customer.AgPoInformed">
INSERT INTO ag_po_policy_offline_upload
(`policy_offline_id`,
`policy_no`, `file_type`, `file_name`, `file_path`,`file_size`,
`uploaded_at`, `uploaded_by`, `attachment_type`)
VALUES (
(select id from ag_po_policy_offline where policy_no = #{policyNo,jdbcType=VARCHAR}),
#{policyNo,jdbcType=VARCHAR}, 'pdf', #{informedNo,jdbcType=VARCHAR}, #{informedOssPath,jdbcType=VARCHAR},'0',
now(), -1, 2)
</insert>
<delete id="deletePoPolicyOfflineUploadByPolicyNo" parameterType="java.lang.String">
delete from ag_po_policy_offline_upload
where policy_no = #{policyNo,jdbcType=VARCHAR} and attachment_type=2
</delete>
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment