public interface PkfieldsMapper
Modifier and Type | Method and Description |
---|---|
long |
countByExample(PkfieldsExample example)
This method was generated by MyBatis Generator.
|
int |
deleteByExample(PkfieldsExample example)
This method was generated by MyBatis Generator.
|
int |
deleteByPrimaryKey(PkfieldsKey key)
This method was generated by MyBatis Generator.
|
int |
insert(Pkfields row)
This method was generated by MyBatis Generator.
|
int |
insertSelective(Pkfields row)
This method was generated by MyBatis Generator.
|
List<Pkfields> |
selectByExample(PkfieldsExample example)
This method was generated by MyBatis Generator.
|
Pkfields |
selectByPrimaryKey(PkfieldsKey key)
This method was generated by MyBatis Generator.
|
int |
updateByExample(Pkfields row,
PkfieldsExample example)
This method was generated by MyBatis Generator.
|
int |
updateByExampleSelective(Pkfields row,
PkfieldsExample example)
This method was generated by MyBatis Generator.
|
int |
updateByPrimaryKey(Pkfields row)
This method was generated by MyBatis Generator.
|
int |
updateByPrimaryKeySelective(Pkfields row)
This method was generated by MyBatis Generator.
|
long countByExample(PkfieldsExample example)
int deleteByExample(PkfieldsExample example)
@Delete(value={"delete from PKFIELDS","where ID2 = #{id2,jdbcType=INTEGER}","and ID1 = #{id1,jdbcType=INTEGER}"}) int deleteByPrimaryKey(PkfieldsKey key)
@Insert(value={"insert into PKFIELDS (ID2, ID1, ","FIRSTNAME, LASTNAME, ","DATEFIELD, TIMEFIELD, ","TIMESTAMPFIELD, DECIMAL30FIELD, ","DECIMAL60FIELD, DECIMAL100FIELD, ","DECIMAL155FIELD, \"wierd$Field\", ","\"birth date\", STRINGBOOLEAN)","values (#{id2,jdbcType=INTEGER}, #{id1,jdbcType=INTEGER}, ","#{firstname,jdbcType=VARCHAR}, #{lastname,jdbcType=VARCHAR}, ","#{datefield,jdbcType=DATE}, #{timefield,jdbcType=TIME}, ","#{timestampfield,jdbcType=TIMESTAMP}, #{decimal30field,jdbcType=DECIMAL}, ","#{decimal60field,jdbcType=DECIMAL}, #{decimal100field,jdbcType=DECIMAL}, ","#{decimal155field,jdbcType=DECIMAL}, #{wierdField,jdbcType=INTEGER}, ","#{birthDate,jdbcType=DATE}, #{stringboolean,jdbcType=CHAR})"}) int insert(Pkfields row)
int insertSelective(Pkfields row)
List<Pkfields> selectByExample(PkfieldsExample example)
@Select(value={"select","B.ID2 as B_ID2, B.ID1 as B_ID1, B.FIRSTNAME as B_FIRSTNAME, B.LASTNAME as B_LASTNAME, ","B.DATEFIELD as B_DATEFIELD, B.TIMEFIELD as B_TIMEFIELD, B.TIMESTAMPFIELD as B_TIMESTAMPFIELD, ","B.DECIMAL30FIELD as B_DECIMAL30FIELD, B.DECIMAL60FIELD as B_DECIMAL60FIELD, ","B.DECIMAL100FIELD as B_DECIMAL100FIELD, B.DECIMAL155FIELD as B_DECIMAL155FIELD, ","B.\"wierd$Field\" as \"B_wierd$Field\", B.\"birth date\" as \"B_birth date\", ","B.STRINGBOOLEAN as B_STRINGBOOLEAN","from PKFIELDS B","where ID2 = #{id2,jdbcType=INTEGER}","and ID1 = #{id1,jdbcType=INTEGER}"}) @ResultMap(value="mbg.test.mb3.generated.mixed.hierarchical.mapper.PkfieldsMapper.BaseResultMap") Pkfields selectByPrimaryKey(PkfieldsKey key)
int updateByExampleSelective(@Param(value="row") Pkfields row, @Param(value="example") PkfieldsExample example)
int updateByExample(@Param(value="row") Pkfields row, @Param(value="example") PkfieldsExample example)
int updateByPrimaryKeySelective(Pkfields row)
@Update(value={"update PKFIELDS","set FIRSTNAME = #{firstname,jdbcType=VARCHAR},","LASTNAME = #{lastname,jdbcType=VARCHAR},","DATEFIELD = #{datefield,jdbcType=DATE},","TIMEFIELD = #{timefield,jdbcType=TIME},","TIMESTAMPFIELD = #{timestampfield,jdbcType=TIMESTAMP},","DECIMAL30FIELD = #{decimal30field,jdbcType=DECIMAL},","DECIMAL60FIELD = #{decimal60field,jdbcType=DECIMAL},","DECIMAL100FIELD = #{decimal100field,jdbcType=DECIMAL},","DECIMAL155FIELD = #{decimal155field,jdbcType=DECIMAL},","\"wierd$Field\" = #{wierdField,jdbcType=INTEGER},","\"birth date\" = #{birthDate,jdbcType=DATE},","STRINGBOOLEAN = #{stringboolean,jdbcType=CHAR}","where ID2 = #{id2,jdbcType=INTEGER}","and ID1 = #{id1,jdbcType=INTEGER}"}) int updateByPrimaryKey(Pkfields row)
Copyright © 2006–2022 MyBatis.org. All rights reserved.