Showing
5 changed files
with
15 additions
and
45 deletions
server/common-dao/src/main/java/com/fedex/connect/common/dao/biz/CeInfoMapper.java
deleted
100644 → 0
| 1 | -package com.fedex.connect.common.dao.biz; | ||
| 2 | - | ||
| 3 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 4 | -import com.fedex.connect.common.model.biz.CeInfoExample; | ||
| 5 | -import java.util.List; | ||
| 6 | -import org.apache.ibatis.annotations.Param; | ||
| 7 | - | ||
| 8 | -public interface CeInfoMapper { | ||
| 9 | - long countByExample(CeInfoExample example); | ||
| 10 | - | ||
| 11 | - int deleteByExample(CeInfoExample example); | ||
| 12 | - | ||
| 13 | - int deleteByPrimaryKey(Long id); | ||
| 14 | - | ||
| 15 | - int insert(CeInfo record); | ||
| 16 | - | ||
| 17 | - int insertSelective(CeInfo record); | ||
| 18 | - | ||
| 19 | - List<CeInfo> selectByExample(CeInfoExample example); | ||
| 20 | - | ||
| 21 | - CeInfo selectByPrimaryKey(Long id); | ||
| 22 | - | ||
| 23 | - int updateByExampleSelective(@Param("record") CeInfo record, @Param("example") CeInfoExample example); | ||
| 24 | - | ||
| 25 | - int updateByExample(@Param("record") CeInfo record, @Param("example") CeInfoExample example); | ||
| 26 | - | ||
| 27 | - int updateByPrimaryKeySelective(CeInfo record); | ||
| 28 | - | ||
| 29 | - int updateByPrimaryKey(CeInfo record); | ||
| 30 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
server/common-dao/src/main/java/com/fedex/connect/common/mapper/biz/CeInfoMapper.xml
deleted
100644 → 0
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
server/common-dao/src/main/java/com/fedex/connect/common/model/biz/CeInfoExample.java
deleted
100644 → 0
This diff is collapsed. Click to expand it.
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | sys:系统 系统相关表,例如kafka表 | 40 | sys:系统 系统相关表,例如kafka表 |
| 41 | log: 日志 日志记录表,例如邮件发送日志表 | 41 | log: 日志 日志记录表,例如邮件发送日志表 |
| 42 | --> | 42 | --> |
| 43 | - <javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java"> | 43 | + <javaModelGenerator targetPackage="com.fedex.connect.common.model.biz" targetProject="src/main/java"> |
| 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> | 44 | <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> |
| 45 | <property name="enableSubPackages" value="false"/> | 45 | <property name="enableSubPackages" value="false"/> |
| 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> | 46 | <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> |
| ... | @@ -52,13 +52,13 @@ | ... | @@ -52,13 +52,13 @@ |
| 52 | </javaModelGenerator> | 52 | </javaModelGenerator> |
| 53 | 53 | ||
| 54 | <!-- 生成映射文件*.xml的位置--> | 54 | <!-- 生成映射文件*.xml的位置--> |
| 55 | - <sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common"> | 55 | + <sqlMapGenerator targetPackage="mapper.biz" targetProject="src/main/java/com/fedex/connect/common"> |
| 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 56 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 57 | <property name="enableSubPackages" value="false"/> | 57 | <property name="enableSubPackages" value="false"/> |
| 58 | </sqlMapGenerator> | 58 | </sqlMapGenerator> |
| 59 | 59 | ||
| 60 | <!-- 生成DAO的包名和位置 --> | 60 | <!-- 生成DAO的包名和位置 --> |
| 61 | - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java"> | 61 | + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.biz" targetProject="src/main/java"> |
| 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> | 62 | <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> |
| 63 | <property name="enableSubPackages" value="false"/> | 63 | <property name="enableSubPackages" value="false"/> |
| 64 | </javaClientGenerator> | 64 | </javaClientGenerator> |
| ... | @@ -95,12 +95,12 @@ | ... | @@ -95,12 +95,12 @@ |
| 95 | <!-- selectByExampleQueryId="true">--> | 95 | <!-- selectByExampleQueryId="true">--> |
| 96 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> | 96 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> |
| 97 | <!-- </table>--> | 97 | <!-- </table>--> |
| 98 | -<!-- <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"--> | 98 | + <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" |
| 99 | -<!-- enableCountByExample="true" enableUpdateByExample="true"--> | 99 | + enableCountByExample="true" enableUpdateByExample="true" |
| 100 | -<!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 100 | + enableDeleteByExample="true" enableSelectByExample="true" |
| 101 | -<!-- selectByExampleQueryId="true">--> | 101 | + selectByExampleQueryId="true"> |
| 102 | -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />--> | 102 | + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" /> |
| 103 | -<!-- </table>--> | 103 | + </table> |
| 104 | <!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"--> | 104 | <!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"--> |
| 105 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 105 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 106 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 106 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| ... | @@ -141,12 +141,12 @@ | ... | @@ -141,12 +141,12 @@ |
| 141 | <!-- selectByExampleQueryId="true">--> | 141 | <!-- selectByExampleQueryId="true">--> |
| 142 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />--> | 142 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />--> |
| 143 | <!-- </table>--> | 143 | <!-- </table>--> |
| 144 | - <table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory" | 144 | +<!-- <table tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"--> |
| 145 | - enableCountByExample="true" enableUpdateByExample="true" | 145 | +<!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 146 | - enableDeleteByExample="true" enableSelectByExample="true" | 146 | +<!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 147 | - selectByExampleQueryId="true"> | 147 | +<!-- selectByExampleQueryId="true">--> |
| 148 | - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" /> | 148 | +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />--> |
| 149 | - </table> | 149 | +<!-- </table>--> |
| 150 | <!-- <table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"--> | 150 | <!-- <table tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"--> |
| 151 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 151 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 152 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 152 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | ... | ... |
-
Please register or login to post a comment