Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
69c1e0ba
Commit
69c1e0ba
authored
Sep 07, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误信息记录表
parent
733303a7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
308 additions
and
0 deletions
+308
-0
TSendEkpError.java
.../yifu/cloud/plus/v1/yifu/social/entity/TSendEkpError.java
+73
-0
TSendEkpErrorController.java
...us/v1/yifu/social/controller/TSendEkpErrorController.java
+56
-0
TSendEkpErrorMapper.java
...cloud/plus/v1/yifu/social/mapper/TSendEkpErrorMapper.java
+33
-0
TSendEkpErrorService.java
...oud/plus/v1/yifu/social/service/TSendEkpErrorService.java
+37
-0
TSendEkpErrorServiceImpl.java
...v1/yifu/social/service/impl/TSendEkpErrorServiceImpl.java
+47
-0
TSendEkpErrorMapper.xml
...ial-biz/src/main/resources/mapper/TSendEkpErrorMapper.xml
+62
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSendEkpError.java
0 → 100644
View file @
69c1e0ba
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.Date
;
/**
* 推送ekp报错的记录表
*
* @author hgw
* @date 2022-9-7 16:11:24
*/
@Data
@TableName
(
"t_send_ekp_error"
)
@Schema
(
description
=
"推送ekp报错的记录表(同类型仅1条记录,更新计数器)"
)
public
class
TSendEkpError
{
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
private
String
id
;
@ExcelAttribute
(
name
=
"内容"
)
@ExcelProperty
(
"内容"
)
private
String
title
;
@ExcelAttribute
(
name
=
"类型"
)
@ExcelProperty
(
"类型(1薪资明细2预估明细3缴费明细4薪资实时收入5定时收入6派单实时收入7预估定时收入8缴费定时收入9商险实时收入)"
)
private
String
type
;
@ExcelAttribute
(
name
=
"创建日"
)
@ExcelProperty
(
"创建日"
)
private
String
createDay
;
@ExcelAttribute
(
name
=
"关联ID"
)
@ExcelProperty
(
"关联ID"
)
private
String
linkId
;
@ExcelAttribute
(
name
=
"创建时间"
)
@ExcelProperty
(
"创建时间"
)
private
Date
createTime
;
@ExcelAttribute
(
name
=
"创建人姓名"
)
@ExcelProperty
(
"创建人姓名"
)
private
String
createUserName
;
@ExcelAttribute
(
name
=
"计数器"
)
@ExcelProperty
(
"计数器"
)
private
Integer
nums
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSendEkpErrorController.java
0 → 100644
View file @
69c1e0ba
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSendEkpError
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSendEkpErrorService
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* 推送ekp报错的记录表
*
* @author hgw
* @date 2022-08-30 17:34:58
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsendekperror"
)
@Tag
(
name
=
"推送ekp报错的记录表"
)
public
class
TSendEkpErrorController
{
private
final
TSendEkpErrorService
tSendEkpErrorService
;
/**
* @Description: 新增-推送ekp报错的记录表
* @Author: hgw
* @Date: 2022/8/31 16:34
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.Boolean>
**/
@Inner
@PostMapping
(
"/inner/saveError"
)
public
Boolean
saveError
(
@RequestBody
TSendEkpError
tSendEkpError
)
{
return
tSendEkpErrorService
.
saveError
(
tSendEkpError
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSendEkpErrorMapper.java
0 → 100644
View file @
69c1e0ba
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSendEkpError
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* error存储
*
* @author hgw
* @date 2022-9-7 16:28:46
*/
@Mapper
public
interface
TSendEkpErrorMapper
extends
BaseMapper
<
TSendEkpError
>
{
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSendEkpErrorService.java
0 → 100644
View file @
69c1e0ba
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSendEkpError
;
/**
* 收入明细表
*
* @author hgw
* @date 2022-08-30 17:34:58
*/
public
interface
TSendEkpErrorService
extends
IService
<
TSendEkpError
>
{
/**
* @Description: 新增-推送ekp报错的记录表;
* @Author: hgw
* @Date: 2022/8/31 16:31
* @return: boolean
**/
boolean
saveError
(
TSendEkpError
tSendEkpError
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSendEkpErrorServiceImpl.java
0 → 100644
View file @
69c1e0ba
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSendEkpError
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.TSendEkpErrorMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSendEkpErrorService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* 收入明细表
*
* @author hgw
* @date 2022-08-30 17:34:58
*/
@Log4j2
@Service
public
class
TSendEkpErrorServiceImpl
extends
ServiceImpl
<
TSendEkpErrorMapper
,
TSendEkpError
>
implements
TSendEkpErrorService
{
/**
* @Description: 新增-推送ekp报错的记录表;
* @Author: hgw
* @Date: 2022/8/31 16:34
* @return: boolean
**/
@Override
public
boolean
saveError
(
TSendEkpError
tSendEkpError
)
{
return
this
.
save
(
tSendEkpError
);
}
}
yifu-social/yifu-social-biz/src/main/resources/mapper/TSendEkpErrorMapper.xml
0 → 100644
View file @
69c1e0ba
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.social.mapper.TSendEkpErrorMapper"
>
<resultMap
id=
"tIncomeMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.TSendEkpError"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"title"
column=
"title"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"createDay"
column=
"CREATE_DAY"
/>
<result
property=
"linkId"
column=
"LINK_ID"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"createUserName"
column=
"CREATE_USER_NAME"
/>
<result
property=
"nums"
column=
"NUMS"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.TITLE,
a.TYPE,
a.CREATE_DAY,
a.LINK_ID,
a.CREATE_TIME,
a.CREATE_USER_NAME,
a.NUMS
</sql>
<sql
id=
"tSendEkpError_where"
>
<if
test=
"tSendEkpError != null"
>
<if
test=
"tSendEkpError.id != null and tSendEkpError.id.trim() != ''"
>
AND a.ID = #{tSendEkpError.id}
</if>
<if
test=
"tSendEkpError.title != null and tSendEkpError.title.trim() != ''"
>
AND a.TITLE = #{tSendEkpError.title}
</if>
<if
test=
"tSendEkpError.type != null and tSendEkpError.type.trim() != ''"
>
AND a.TYPE = #{tSendEkpError.type}
</if>
<if
test=
"tSendEkpError.createDay != null and tSendEkpError.createDay.trim() != ''"
>
AND a.CREATE_DAY = #{tSendEkpError.createDay}
</if>
</if>
</sql>
</mapper>
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