public interface AwfulTableMapper
| Modifier and Type | Method and Description |
|---|---|
int |
countByExample(AwfulTableExample example)
This method was generated by MyBatis Generator.
|
int |
deleteByExample(AwfulTableExample example)
This method was generated by MyBatis Generator.
|
int |
deleteByPrimaryKey(AwfulTableKey key)
This method was generated by MyBatis Generator.
|
int |
insert(AwfulTable record)
This method was generated by MyBatis Generator.
|
int |
insertSelective(AwfulTable record)
This method was generated by MyBatis Generator.
|
List<AwfulTable> |
selectByExample(AwfulTableExample example)
This method was generated by MyBatis Generator.
|
AwfulTable |
selectByPrimaryKey(AwfulTableKey key)
This method was generated by MyBatis Generator.
|
int |
updateByExample(AwfulTable record,
AwfulTableExample example)
This method was generated by MyBatis Generator.
|
int |
updateByExampleSelective(AwfulTable record,
AwfulTableExample example)
This method was generated by MyBatis Generator.
|
int |
updateByPrimaryKey(AwfulTable record)
This method was generated by MyBatis Generator.
|
int |
updateByPrimaryKeySelective(AwfulTable record)
This method was generated by MyBatis Generator.
|
int countByExample(AwfulTableExample example)
int deleteByExample(AwfulTableExample example)
@Delete(value={"delete from \"awful table\"","where \"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"})
int deleteByPrimaryKey(AwfulTableKey key)
@Insert(value={"insert into \"awful table\" (\"first name\", FIRST_NAME, ","FIRSTNAME, \"last name\", ","E_MAIL, \"_id1\", \"$id2\", ","\"id5_\", \"id6$\", \"id7$$\", ","EMAILADDRESS, \"from\", ","ACTIVE)","values (#{firstFirstName,jdbcType=VARCHAR}, #{secondFirstName,jdbcType=VARCHAR}, ","#{thirdFirstName,jdbcType=VARCHAR}, #{lastName,jdbcType=VARCHAR}, ","#{eMail,jdbcType=VARCHAR}, #{id1,jdbcType=INTEGER}, #{id2,jdbcType=INTEGER}, ","#{id5,jdbcType=INTEGER}, #{id6,jdbcType=INTEGER}, #{id7,jdbcType=INTEGER}, ","#{emailaddress,jdbcType=VARCHAR}, #{from,jdbcType=VARCHAR}, ","#{active,jdbcType=BIT})"})
@SelectKey(statement="CALL IDENTITY()",
keyProperty="customerId",
before=false,
resultType=java.lang.Integer.class)
int insert(AwfulTable record)
int insertSelective(AwfulTable record)
List<AwfulTable> selectByExample(AwfulTableExample example)
@Select(value={"select","A.\"CuStOmEr iD\" as \"A_CuStOmEr iD\", A.\"first name\" as \"A_first name\", ","A.FIRST_NAME as A_FIRST_NAME, A.FIRSTNAME as A_FIRSTNAME, A.\"last name\" as \"A_last name\", ","A.E_MAIL as A_E_MAIL, A.\"_id1\" as \"A__id1\", A.\"$id2\" as \"A_$id2\", A.\"id5_\" as \"A_id5_\", ","A.\"id6$\" as \"A_id6$\", A.\"id7$$\" as \"A_id7$$\", A.EMAILADDRESS as A_EMAILADDRESS, ","A.\"from\" as \"A_from\", A.ACTIVE as A_ACTIVE","from \"awful table\" A","where A.\"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"})
@ResultMap(value="BaseResultMap")
AwfulTable selectByPrimaryKey(AwfulTableKey key)
int updateByExampleSelective(@Param(value="record")
AwfulTable record,
@Param(value="example")
AwfulTableExample example)
int updateByExample(@Param(value="record")
AwfulTable record,
@Param(value="example")
AwfulTableExample example)
int updateByPrimaryKeySelective(AwfulTable record)
@Update(value={"update \"awful table\"","set \"first name\" = #{firstFirstName,jdbcType=VARCHAR},","FIRST_NAME = #{secondFirstName,jdbcType=VARCHAR},","FIRSTNAME = #{thirdFirstName,jdbcType=VARCHAR},","\"last name\" = #{lastName,jdbcType=VARCHAR},","E_MAIL = #{eMail,jdbcType=VARCHAR},","\"_id1\" = #{id1,jdbcType=INTEGER},","\"$id2\" = #{id2,jdbcType=INTEGER},","\"id5_\" = #{id5,jdbcType=INTEGER},","\"id6$\" = #{id6,jdbcType=INTEGER},","\"id7$$\" = #{id7,jdbcType=INTEGER},","EMAILADDRESS = #{emailaddress,jdbcType=VARCHAR},","\"from\" = #{from,jdbcType=VARCHAR},","ACTIVE = #{active,jdbcType=BIT}","where \"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"})
int updateByPrimaryKey(AwfulTable record)
Copyright © 2010–2022 MyBatis.org. All rights reserved.