Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
fee7b123
Commit
fee7b123
authored
Jul 09, 2019
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mybatis entities -- frank
parent
fa6e34ad
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
26 deletions
+27
-26
entityGeneratorConfig.xml
atms-dao/etc/generator-mysql/entityGeneratorConfig.xml
+1
-1
OrganizationHKMapper.java
...c/taxtech/atms/organization/dao/OrganizationHKMapper.java
+14
-13
OrganizationHK.java
.../pwc/taxtech/atms/organization/entity/OrganizationHK.java
+1
-1
OrganizationHKExample.java
...xtech/atms/organization/entity/OrganizationHKExample.java
+2
-2
OrganizationHKMapper.xml
...wc/taxtech/atms/organization/dao/OrganizationHKMapper.xml
+9
-9
organization-manage.ctrl.js
...astructure/organizationManage/organization-manage.ctrl.js
+0
-0
No files found.
atms-dao/etc/generator-mysql/entityGeneratorConfig.xml
View file @
fee7b123
...
...
@@ -41,7 +41,7 @@
<property
name=
"rootInterface"
value=
"pwc.taxtech.atms.MyMapper"
/>
</javaClientGenerator>
<table
tableName=
"organization"
domainObjectName=
"Organization"
>
<table
tableName=
"organization"
domainObjectName=
"Organization
HK
"
>
<property
name=
"useActualColumnNames"
value=
"false"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
...
...
atms-dao/src/main/java/pwc/taxtech/atms/organization/dao/OrganizationMapper.java
→
atms-dao/src/main/java/pwc/taxtech/atms/organization/dao/Organization
HK
Mapper.java
View file @
fee7b123
...
...
@@ -3,20 +3,20 @@ package pwc.taxtech.atms.organization.dao;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
pwc.taxtech.atms.MyMapper
;
import
pwc.taxtech.atms.organization.entity.Organization
;
import
pwc.taxtech.atms.organization.entity.OrganizationExample
;
import
pwc.taxtech.atms.organization.entity.Organization
HK
;
import
pwc.taxtech.atms.organization.entity.Organization
HK
Example
;
import
java.util.List
;
@Mapper
public
interface
OrganizationMapper
extends
MyMapper
{
public
interface
Organization
HK
Mapper
extends
MyMapper
{
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table organization
*
* @mbg.generated
*/
long
countByExample
(
OrganizationExample
example
);
long
countByExample
(
Organization
HK
Example
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -24,7 +24,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
deleteByExample
(
OrganizationExample
example
);
int
deleteByExample
(
Organization
HK
Example
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -40,7 +40,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
insert
(
Organization
record
);
int
insert
(
Organization
HK
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -48,7 +48,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
insertSelective
(
Organization
record
);
int
insertSelective
(
Organization
HK
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -56,7 +56,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
List
<
Organization
>
selectByExample
(
Organization
Example
example
);
List
<
Organization
HK
>
selectByExample
(
OrganizationHK
Example
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -64,7 +64,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
Organization
selectByPrimaryKey
(
Long
id
);
Organization
HK
selectByPrimaryKey
(
Long
id
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -72,7 +72,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
updateByExampleSelective
(
@Param
(
"record"
)
Organization
record
,
@Param
(
"example"
)
Organization
Example
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
Organization
HK
record
,
@Param
(
"example"
)
OrganizationHK
Example
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -80,7 +80,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
updateByExample
(
@Param
(
"record"
)
Organization
record
,
@Param
(
"example"
)
Organization
Example
example
);
int
updateByExample
(
@Param
(
"record"
)
Organization
HK
record
,
@Param
(
"example"
)
OrganizationHK
Example
example
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -88,7 +88,7 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKeySelective
(
Organization
record
);
int
updateByPrimaryKeySelective
(
Organization
HK
record
);
/**
* This method was generated by MyBatis Generator.
...
...
@@ -96,5 +96,5 @@ public interface OrganizationMapper extends MyMapper {
*
* @mbg.generated
*/
int
updateByPrimaryKey
(
Organization
record
);
int
updateByPrimaryKey
(
Organization
HK
record
);
}
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/organization/entity/Organization.java
→
atms-dao/src/main/java/pwc/taxtech/atms/organization/entity/Organization
HK
.java
View file @
fee7b123
...
...
@@ -12,7 +12,7 @@ import java.util.Date;
*
* @mbg.generated do_not_delete_during_merge
*/
public
class
Organization
extends
BaseEntity
implements
Serializable
{
public
class
Organization
HK
extends
BaseEntity
implements
Serializable
{
/**
*
* This field was generated by MyBatis Generator.
...
...
atms-dao/src/main/java/pwc/taxtech/atms/organization/entity/OrganizationExample.java
→
atms-dao/src/main/java/pwc/taxtech/atms/organization/entity/Organization
HK
Example.java
View file @
fee7b123
...
...
@@ -4,7 +4,7 @@ import java.util.ArrayList;
import
java.util.Date
;
import
java.util.List
;
public
class
OrganizationExample
{
public
class
Organization
HK
Example
{
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table organization
...
...
@@ -35,7 +35,7 @@ public class OrganizationExample {
*
* @mbg.generated
*/
public
OrganizationExample
()
{
public
Organization
HK
Example
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/organization/dao/OrganizationMapper.xml
→
atms-dao/src/main/resources/pwc/taxtech/atms/organization/dao/Organization
HK
Mapper.xml
View file @
fee7b123
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.organization.dao.OrganizationMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.organization.entity.Organization"
>
<mapper
namespace=
"pwc.taxtech.atms.organization.dao.Organization
HK
Mapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.organization.entity.Organization
HK
"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -114,7 +114,7 @@
jurisdiction_of_formation, financial_year_end, annual_audit_requirement, registered_agent,
ownership_form, resident_secretary, create_time, update_time
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.OrganizationExample"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
Example"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -150,7 +150,7 @@
delete from organization
where id = #{id,jdbcType=BIGINT}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.OrganizationExample"
>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
Example"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -160,7 +160,7 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization"
>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -188,7 +188,7 @@
#{registeredAgent,jdbcType=VARCHAR}, #{ownershipForm,jdbcType=INTEGER}, #{residentSecretary,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization"
>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -373,7 +373,7 @@
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.OrganizationExample"
resultType=
"java.lang.Long"
>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
Example"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -521,7 +521,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
@@ -615,7 +615,7 @@
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization"
>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.organization.entity.Organization
HK
"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
...
...
atms-web/src/main/webapp/app/admin/infrastructure/organizationManage/organization-manage.ctrl.js
View file @
fee7b123
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment