Commit db4c6e7f by huluobin

# update

parent 7e2a52e7
...@@ -10,7 +10,6 @@ import java.util.List; ...@@ -10,7 +10,6 @@ import java.util.List;
@Repository @Repository
public interface CostLogDao { public interface CostLogDao {
Integer insert(CostLogDomain log);
List<CostLogDomain> selectByCostNo(String costNo); List<CostLogDomain> selectByCostNo(String costNo);
......
...@@ -3,13 +3,6 @@ ...@@ -3,13 +3,6 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd" > "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.blt.other.module.cost.dao.CostLogDao"> <mapper namespace="com.blt.other.module.cost.dao.CostLogDao">
<insert id="insert" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
INSERT INTO cost_log(cost_no, update_usercode, update_username, update_time, update_note, update_userid)
VALUE
(
#{costNo}, #{updateUsercode}, #{updateUsername}, #{updateTime}, #{updateNote}, #{updateUserid}
)
</insert>
<select id="selectByCostNo" resultType="com.blt.other.database.model.CostLogDomain"> <select id="selectByCostNo" resultType="com.blt.other.database.model.CostLogDomain">
SELECT * SELECT *
......
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