-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from suyin58/branch
Branch
- Loading branch information
Showing
49 changed files
with
2,901 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
generator-plugin/src/main/java/com/dingtalk/demo/dao/TableWithIdentifyMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.dingtalk.demo.dao; | ||
|
||
import com.dingtalk.demo.domain.TableWithIdentify; | ||
import com.dingtalk.demo.domain.TableWithIdentifyCriteria; | ||
import java.util.List; | ||
import org.apache.ibatis.annotations.Param; | ||
|
||
public interface TableWithIdentifyMapper { | ||
long countByExample(TableWithIdentifyCriteria example); | ||
|
||
int deleteByExample(TableWithIdentifyCriteria example); | ||
|
||
int deleteByPrimaryKey(Long id); | ||
|
||
int insert(TableWithIdentify record); | ||
|
||
int insertSelective(TableWithIdentify record); | ||
|
||
List<TableWithIdentify> selectByExample(TableWithIdentifyCriteria example); | ||
|
||
TableWithIdentify selectByExampleForUpdate(TableWithIdentifyCriteria example); | ||
|
||
TableWithIdentify selectByPrimaryKey(Long id); | ||
|
||
int updateByExampleSelective(@Param("record") TableWithIdentify record, @Param("example") TableWithIdentifyCriteria example); | ||
|
||
int updateByExample(@Param("record") TableWithIdentify record, @Param("example") TableWithIdentifyCriteria example); | ||
|
||
int updateByPrimaryKeySelective(TableWithIdentify record); | ||
|
||
int updateByPrimaryKey(TableWithIdentify record); | ||
|
||
TableWithIdentify selectByUniqueKey(@Param("orgId") Long orgId, @Param("code") String code); | ||
|
||
TableWithIdentify selectByUniqueKeyForUpdate(@Param("orgId") Long orgId, @Param("code") String code); | ||
|
||
int updateByUniqueKeySelective(TableWithIdentify record); | ||
|
||
int deleteByUniqueKey(@Param("orgId") Long orgId, @Param("code") String code); | ||
|
||
int batchInsert(@Param("list") List<TableWithIdentify> list); | ||
|
||
int upsertByUniqueKey(TableWithIdentify record); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.