Browse Source

阿米巴发起划拨开发

anderx 3 years ago
parent
commit
31c900b17c

+ 0 - 2
src/main/java/com/goafanti/ambSystem/service/Impl/AmbInvestServiceImpl.java

@@ -5,9 +5,7 @@ import com.goafanti.ambSystem.service.AmbInvestService;
 import com.goafanti.ambSystem.service.AmbPaymentService;
 import com.goafanti.common.dao.AmbInvestLogMapper;
 import com.goafanti.common.dao.AmbInvestMapper;
-import com.goafanti.common.dao.AmbPaymentApplicationMapper;
 import com.goafanti.common.dao.AmbSystemMapper;
-import com.goafanti.common.error.BusinessException;
 import com.goafanti.common.model.AmbInvest;
 import com.goafanti.common.model.AmbInvestLog;
 import com.goafanti.common.model.AmbSystem;

+ 1 - 1
src/main/java/com/goafanti/common/model/AmbInvestLog.java

@@ -18,7 +18,7 @@ public class AmbInvestLog implements Serializable {
     private BigDecimal amount;
 
     /**
-     * 状态 0=草稿,1=待审核,2=同意,3=驳回
+     * 状态 0=草稿,1=发起,2=同意,3=驳回
      */
     private Integer status;
 

+ 0 - 76
src/main/resources/com/goafanti/common/mapper/AmbInvestLogMapper.xml

@@ -1,76 +0,0 @@
-<?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">
-<mapper namespace="com.goafanti.common.dao.AmbInvestLogMapper">
-  <resultMap id="BaseResultMap" type="com.goafanti.common.model.AmbInvestLog">
-    <id column="id" jdbcType="VARCHAR" property="id" />
-    <result column="amount" jdbcType="DECIMAL" property="amount" />
-    <result column="comment" jdbcType="VARCHAR" property="comment" />
-    <result column="operator" jdbcType="VARCHAR" property="operator" />
-  </resultMap>
-  <sql id="Base_Column_List">
-    id, amount, `comment`, `operator`
-  </sql>
-  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from amb_invest_log
-    where id = #{id,jdbcType=VARCHAR}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
-    delete from amb_invest_log
-    where id = #{id,jdbcType=VARCHAR}
-  </delete>
-  <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.AmbInvestLog" useGeneratedKeys="true">
-    insert into amb_invest_log (amount, `comment`, `operator`
-      )
-    values (#{amount,jdbcType=DECIMAL}, #{comment,jdbcType=VARCHAR}, #{operator,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.AmbInvestLog" useGeneratedKeys="true">
-    insert into amb_invest_log
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="amount != null">
-        amount,
-      </if>
-      <if test="comment != null">
-        `comment`,
-      </if>
-      <if test="operator != null">
-        `operator`,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="amount != null">
-        #{amount,jdbcType=DECIMAL},
-      </if>
-      <if test="comment != null">
-        #{comment,jdbcType=VARCHAR},
-      </if>
-      <if test="operator != null">
-        #{operator,jdbcType=VARCHAR},
-      </if>
-    </trim>
-  </insert>
-  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.AmbInvestLog">
-    update amb_invest_log
-    <set>
-      <if test="amount != null">
-        amount = #{amount,jdbcType=DECIMAL},
-      </if>
-      <if test="comment != null">
-        `comment` = #{comment,jdbcType=VARCHAR},
-      </if>
-      <if test="operator != null">
-        `operator` = #{operator,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=VARCHAR}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.AmbInvestLog">
-    update amb_invest_log
-    set amount = #{amount,jdbcType=DECIMAL},
-      `comment` = #{comment,jdbcType=VARCHAR},
-      `operator` = #{operator,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=VARCHAR}
-  </update>
-</mapper>