Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
a268135d
Commit
a268135d
authored
Apr 14, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
82034fd2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
520 additions
and
0 deletions
+520
-0
TabHaobanClerkMainStoreRelatedMapper.java
...vice/dao/mapper/TabHaobanClerkMainStoreRelatedMapper.java
+18
-0
TabHaobanSyncErrorLogMapper.java
...anage/service/dao/mapper/TabHaobanSyncErrorLogMapper.java
+18
-0
TabHaobanClerkMainStoreRelated.java
...manage/service/entity/TabHaobanClerkMainStoreRelated.java
+89
-0
TabHaobanSyncErrorLog.java
...c/haoban/manage/service/entity/TabHaobanSyncErrorLog.java
+109
-0
TabHaobanClerkMainStoreRelatedMapper.xml
...resources/mapper/TabHaobanClerkMainStoreRelatedMapper.xml
+132
-0
TabHaobanSyncErrorLogMapper.xml
...src/main/resources/mapper/TabHaobanSyncErrorLogMapper.xml
+154
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TabHaobanClerkMainStoreRelatedMapper.java
0 → 100644
View file @
a268135d
package
com
.
gic
.
haoban
.
manage
.
service
.
dao
.
mapper
;
import
com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated
;
public
interface
TabHaobanClerkMainStoreRelatedMapper
{
int
deleteByPrimaryKey
(
String
clerkMainStoreRelatedId
);
int
insert
(
TabHaobanClerkMainStoreRelated
record
);
int
insertSelective
(
TabHaobanClerkMainStoreRelated
record
);
TabHaobanClerkMainStoreRelated
selectByPrimaryKey
(
String
clerkMainStoreRelatedId
);
int
updateByPrimaryKeySelective
(
TabHaobanClerkMainStoreRelated
record
);
int
updateByPrimaryKey
(
TabHaobanClerkMainStoreRelated
record
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TabHaobanSyncErrorLogMapper.java
0 → 100644
View file @
a268135d
package
com
.
gic
.
haoban
.
manage
.
service
.
dao
.
mapper
;
import
com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog
;
public
interface
TabHaobanSyncErrorLogMapper
{
int
deleteByPrimaryKey
(
Integer
id
);
int
insert
(
TabHaobanSyncErrorLog
record
);
int
insertSelective
(
TabHaobanSyncErrorLog
record
);
TabHaobanSyncErrorLog
selectByPrimaryKey
(
Integer
id
);
int
updateByPrimaryKeySelective
(
TabHaobanSyncErrorLog
record
);
int
updateByPrimaryKey
(
TabHaobanSyncErrorLog
record
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanClerkMainStoreRelated.java
0 → 100644
View file @
a268135d
package
com
.
gic
.
haoban
.
manage
.
service
.
entity
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
TabHaobanClerkMainStoreRelated
implements
Serializable
{
private
String
clerkMainStoreRelatedId
;
private
String
clerkId
;
private
String
enterpriseId
;
private
String
storeId
;
private
Integer
mainStoreFlag
;
private
Integer
statusFlag
;
private
Date
createTime
;
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
public
String
getClerkMainStoreRelatedId
()
{
return
clerkMainStoreRelatedId
;
}
public
void
setClerkMainStoreRelatedId
(
String
clerkMainStoreRelatedId
)
{
this
.
clerkMainStoreRelatedId
=
clerkMainStoreRelatedId
==
null
?
null
:
clerkMainStoreRelatedId
.
trim
();
}
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
==
null
?
null
:
clerkId
.
trim
();
}
public
String
getEnterpriseId
()
{
return
enterpriseId
;
}
public
void
setEnterpriseId
(
String
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
==
null
?
null
:
enterpriseId
.
trim
();
}
public
String
getStoreId
()
{
return
storeId
;
}
public
void
setStoreId
(
String
storeId
)
{
this
.
storeId
=
storeId
==
null
?
null
:
storeId
.
trim
();
}
public
Integer
getMainStoreFlag
()
{
return
mainStoreFlag
;
}
public
void
setMainStoreFlag
(
Integer
mainStoreFlag
)
{
this
.
mainStoreFlag
=
mainStoreFlag
;
}
public
Integer
getStatusFlag
()
{
return
statusFlag
;
}
public
void
setStatusFlag
(
Integer
statusFlag
)
{
this
.
statusFlag
=
statusFlag
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanSyncErrorLog.java
0 → 100644
View file @
a268135d
package
com
.
gic
.
haoban
.
manage
.
service
.
entity
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
TabHaobanSyncErrorLog
implements
Serializable
{
private
Integer
id
;
private
Integer
logType
;
private
String
taskId
;
private
String
dataId
;
private
Integer
dataType
;
private
String
reason
;
private
String
wxEnterpriseId
;
private
String
gicEnterpriseId
;
private
Date
createTime
;
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getLogType
()
{
return
logType
;
}
public
void
setLogType
(
Integer
logType
)
{
this
.
logType
=
logType
;
}
public
String
getTaskId
()
{
return
taskId
;
}
public
void
setTaskId
(
String
taskId
)
{
this
.
taskId
=
taskId
==
null
?
null
:
taskId
.
trim
();
}
public
String
getDataId
()
{
return
dataId
;
}
public
void
setDataId
(
String
dataId
)
{
this
.
dataId
=
dataId
==
null
?
null
:
dataId
.
trim
();
}
public
Integer
getDataType
()
{
return
dataType
;
}
public
void
setDataType
(
Integer
dataType
)
{
this
.
dataType
=
dataType
;
}
public
String
getReason
()
{
return
reason
;
}
public
void
setReason
(
String
reason
)
{
this
.
reason
=
reason
==
null
?
null
:
reason
.
trim
();
}
public
String
getWxEnterpriseId
()
{
return
wxEnterpriseId
;
}
public
void
setWxEnterpriseId
(
String
wxEnterpriseId
)
{
this
.
wxEnterpriseId
=
wxEnterpriseId
==
null
?
null
:
wxEnterpriseId
.
trim
();
}
public
String
getGicEnterpriseId
()
{
return
gicEnterpriseId
;
}
public
void
setGicEnterpriseId
(
String
gicEnterpriseId
)
{
this
.
gicEnterpriseId
=
gicEnterpriseId
==
null
?
null
:
gicEnterpriseId
.
trim
();
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/resources/mapper/TabHaobanClerkMainStoreRelatedMapper.xml
0 → 100644
View file @
a268135d
<?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=
"com.gic.haoban.manage.service.dao.mapper.TabHaobanClerkMainStoreRelatedMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated"
>
<id
column=
"clerk_main_store_related_id"
property=
"clerkMainStoreRelatedId"
jdbcType=
"VARCHAR"
/>
<result
column=
"clerk_id"
property=
"clerkId"
jdbcType=
"VARCHAR"
/>
<result
column=
"enterprise_id"
property=
"enterpriseId"
jdbcType=
"VARCHAR"
/>
<result
column=
"store_id"
property=
"storeId"
jdbcType=
"VARCHAR"
/>
<result
column=
"main_store_flag"
property=
"mainStoreFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"status_flag"
property=
"statusFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
clerk_main_store_related_id, clerk_id, enterprise_id, store_id, main_store_flag,
status_flag, create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_clerk_main_store_related
where clerk_main_store_related_id = #{clerkMainStoreRelatedId,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from tab_haoban_clerk_main_store_related
where clerk_main_store_related_id = #{clerkMainStoreRelatedId,jdbcType=VARCHAR}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated"
>
insert into tab_haoban_clerk_main_store_related (clerk_main_store_related_id, clerk_id,
enterprise_id, store_id, main_store_flag,
status_flag, create_time, update_time
)
values (#{clerkMainStoreRelatedId,jdbcType=VARCHAR}, #{clerkId,jdbcType=VARCHAR},
#{enterpriseId,jdbcType=VARCHAR}, #{storeId,jdbcType=VARCHAR}, #{mainStoreFlag,jdbcType=INTEGER},
#{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated"
>
insert into tab_haoban_clerk_main_store_related
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"clerkMainStoreRelatedId != null"
>
clerk_main_store_related_id,
</if>
<if
test=
"clerkId != null"
>
clerk_id,
</if>
<if
test=
"enterpriseId != null"
>
enterprise_id,
</if>
<if
test=
"storeId != null"
>
store_id,
</if>
<if
test=
"mainStoreFlag != null"
>
main_store_flag,
</if>
<if
test=
"statusFlag != null"
>
status_flag,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"clerkMainStoreRelatedId != null"
>
#{clerkMainStoreRelatedId,jdbcType=VARCHAR},
</if>
<if
test=
"clerkId != null"
>
#{clerkId,jdbcType=VARCHAR},
</if>
<if
test=
"enterpriseId != null"
>
#{enterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"storeId != null"
>
#{storeId,jdbcType=VARCHAR},
</if>
<if
test=
"mainStoreFlag != null"
>
#{mainStoreFlag,jdbcType=INTEGER},
</if>
<if
test=
"statusFlag != null"
>
#{statusFlag,jdbcType=INTEGER},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated"
>
update tab_haoban_clerk_main_store_related
<set
>
<if
test=
"clerkId != null"
>
clerk_id = #{clerkId,jdbcType=VARCHAR},
</if>
<if
test=
"enterpriseId != null"
>
enterprise_id = #{enterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"storeId != null"
>
store_id = #{storeId,jdbcType=VARCHAR},
</if>
<if
test=
"mainStoreFlag != null"
>
main_store_flag = #{mainStoreFlag,jdbcType=INTEGER},
</if>
<if
test=
"statusFlag != null"
>
status_flag = #{statusFlag,jdbcType=INTEGER},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where clerk_main_store_related_id = #{clerkMainStoreRelatedId,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanClerkMainStoreRelated"
>
update tab_haoban_clerk_main_store_related
set clerk_id = #{clerkId,jdbcType=VARCHAR},
enterprise_id = #{enterpriseId,jdbcType=VARCHAR},
store_id = #{storeId,jdbcType=VARCHAR},
main_store_flag = #{mainStoreFlag,jdbcType=INTEGER},
status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where clerk_main_store_related_id = #{clerkMainStoreRelatedId,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
haoban-manage3-service/src/main/resources/mapper/TabHaobanSyncErrorLogMapper.xml
0 → 100644
View file @
a268135d
<?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=
"com.gic.haoban.manage.service.dao.mapper.TabHaobanSyncErrorLogMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog"
>
<id
column=
"id"
property=
"id"
jdbcType=
"INTEGER"
/>
<result
column=
"log_type"
property=
"logType"
jdbcType=
"INTEGER"
/>
<result
column=
"task_id"
property=
"taskId"
jdbcType=
"VARCHAR"
/>
<result
column=
"data_id"
property=
"dataId"
jdbcType=
"VARCHAR"
/>
<result
column=
"data_type"
property=
"dataType"
jdbcType=
"INTEGER"
/>
<result
column=
"reason"
property=
"reason"
jdbcType=
"VARCHAR"
/>
<result
column=
"wx_enterprise_id"
property=
"wxEnterpriseId"
jdbcType=
"VARCHAR"
/>
<result
column=
"gic_enterprise_id"
property=
"gicEnterpriseId"
jdbcType=
"VARCHAR"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, log_type, task_id, data_id, data_type, reason, wx_enterprise_id, gic_enterprise_id,
create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_sync_error_log
where id = #{id,jdbcType=INTEGER}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Integer"
>
delete from tab_haoban_sync_error_log
where id = #{id,jdbcType=INTEGER}
</delete>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog"
>
insert into tab_haoban_sync_error_log (id, log_type, task_id,
data_id, data_type, reason,
wx_enterprise_id, gic_enterprise_id, create_time,
update_time)
values (#{id,jdbcType=INTEGER}, #{logType,jdbcType=INTEGER}, #{taskId,jdbcType=VARCHAR},
#{dataId,jdbcType=VARCHAR}, #{dataType,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR},
#{wxEnterpriseId,jdbcType=VARCHAR}, #{gicEnterpriseId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog"
>
insert into tab_haoban_sync_error_log
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
id,
</if>
<if
test=
"logType != null"
>
log_type,
</if>
<if
test=
"taskId != null"
>
task_id,
</if>
<if
test=
"dataId != null"
>
data_id,
</if>
<if
test=
"dataType != null"
>
data_type,
</if>
<if
test=
"reason != null"
>
reason,
</if>
<if
test=
"wxEnterpriseId != null"
>
wx_enterprise_id,
</if>
<if
test=
"gicEnterpriseId != null"
>
gic_enterprise_id,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
#{id,jdbcType=INTEGER},
</if>
<if
test=
"logType != null"
>
#{logType,jdbcType=INTEGER},
</if>
<if
test=
"taskId != null"
>
#{taskId,jdbcType=VARCHAR},
</if>
<if
test=
"dataId != null"
>
#{dataId,jdbcType=VARCHAR},
</if>
<if
test=
"dataType != null"
>
#{dataType,jdbcType=INTEGER},
</if>
<if
test=
"reason != null"
>
#{reason,jdbcType=VARCHAR},
</if>
<if
test=
"wxEnterpriseId != null"
>
#{wxEnterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"gicEnterpriseId != null"
>
#{gicEnterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog"
>
update tab_haoban_sync_error_log
<set
>
<if
test=
"logType != null"
>
log_type = #{logType,jdbcType=INTEGER},
</if>
<if
test=
"taskId != null"
>
task_id = #{taskId,jdbcType=VARCHAR},
</if>
<if
test=
"dataId != null"
>
data_id = #{dataId,jdbcType=VARCHAR},
</if>
<if
test=
"dataType != null"
>
data_type = #{dataType,jdbcType=INTEGER},
</if>
<if
test=
"reason != null"
>
reason = #{reason,jdbcType=VARCHAR},
</if>
<if
test=
"wxEnterpriseId != null"
>
wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"gicEnterpriseId != null"
>
gic_enterprise_id = #{gicEnterpriseId,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanSyncErrorLog"
>
update tab_haoban_sync_error_log
set log_type = #{logType,jdbcType=INTEGER},
task_id = #{taskId,jdbcType=VARCHAR},
data_id = #{dataId,jdbcType=VARCHAR},
data_type = #{dataType,jdbcType=INTEGER},
reason = #{reason,jdbcType=VARCHAR},
wx_enterprise_id = #{wxEnterpriseId,jdbcType=VARCHAR},
gic_enterprise_id = #{gicEnterpriseId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
\ No newline at end of file
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