Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
custom-server
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhonghong
custom-server
Commits
6d4961be
Commit
6d4961be
authored
May 29, 2026
by
daijie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加自动生成的数据表对象初始文件
parent
613af047
Hide whitespace changes
Inline
Side-by-side
Showing
133 changed files
with
7879 additions
and
3 deletions
+7879
-3
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductBlacklistPageVO.java
+45
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductBlacklistVO.java
+43
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCnRemarkPageVO.java
+52
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCnRemarkVO.java
+51
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCraftRelPageVO.java
+45
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCraftRelVO.java
+43
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductDiyUserRelPageVO.java
+45
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductDiyUserRelVO.java
+43
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceIntervalRelPageVO.java
+59
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceIntervalRelVO.java
+57
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceRelPageVO.java
+95
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceRelVO.java
+94
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductImagePageVO.java
+64
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductImageVO.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPageVO.java
+269
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPropertyPageVO.java
+57
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPropertyVO.java
+55
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoVO.java
+268
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductItemPageVO.java
+215
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductItemVO.java
+214
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductRemarkPageVO.java
+52
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductRemarkVO.java
+51
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductWarehouseRelPageVO.java
+45
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductWarehouseRelVO.java
+43
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/LogCustomProductPageVO.java
+70
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/LogCustomProductVO.java
+69
-0
custom-server-app/src/main/java/com/jomalls/custom/app/model/SysUserVO.java
+0
-3
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductBlacklistService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductCnRemarkService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductCraftRelService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductDiyUserRelService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductFactoryPriceIntervalRelService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductFactoryPriceRelService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductImageService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductInfoPropertyService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductInfoService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductItemService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductRemarkService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductWarehouseRelService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/LogCustomProductService.java
+63
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductBlacklistServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductCnRemarkServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductCraftRelServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductDiyUserRelServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductFactoryPriceIntervalRelServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductFactoryPriceRelServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductImageServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductInfoPropertyServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductInfoServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductItemServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductRemarkServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductWarehouseRelServiceImpl.java
+96
-0
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/LogCustomProductServiceImpl.java
+96
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductBlacklistEntity.java
+44
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductCnRemarkEntity.java
+50
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductCraftRelEntity.java
+42
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductDiyUserRelEntity.java
+43
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductFactoryPriceIntervalRelEntity.java
+55
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductFactoryPriceRelEntity.java
+92
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductImageEntity.java
+61
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductInfoEntity.java
+267
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductInfoPropertyEntity.java
+56
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductItemEntity.java
+213
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductRemarkEntity.java
+49
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductWarehouseRelEntity.java
+43
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/LogCustomProductEntity.java
+67
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductBlacklistMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductCnRemarkMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductCraftRelMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductDiyUserRelMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductFactoryPriceIntervalRelMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductFactoryPriceRelMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductImageMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductInfoMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductInfoPropertyMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductItemMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductRemarkMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductWarehouseRelMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/LogCustomProductMapper.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductBlacklistDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductCnRemarkDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductCraftRelDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductDiyUserRelDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductFactoryPriceIntervalRelDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductFactoryPriceRelDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductImageDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductInfoDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductInfoPropertyDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductItemDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductRemarkDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductWarehouseRelDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/LogCustomProductDomainService.java
+15
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductBlacklistDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductCnRemarkDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductCraftRelDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductDiyUserRelDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductFactoryPriceIntervalRelDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductFactoryPriceRelDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductImageDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductInfoDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductInfoPropertyDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductItemDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductRemarkDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductWarehouseRelDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/LogCustomProductDomainServiceImpl.java
+28
-0
custom-server-domain/src/main/resources/mapper/CustomProductBlacklistMapper.xml
+18
-0
custom-server-domain/src/main/resources/mapper/CustomProductCnRemarkMapper.xml
+20
-0
custom-server-domain/src/main/resources/mapper/CustomProductCraftRelMapper.xml
+18
-0
custom-server-domain/src/main/resources/mapper/CustomProductDiyUserRelMapper.xml
+18
-0
custom-server-domain/src/main/resources/mapper/CustomProductFactoryPriceIntervalRelMapper.xml
+22
-0
custom-server-domain/src/main/resources/mapper/CustomProductFactoryPriceRelMapper.xml
+34
-0
custom-server-domain/src/main/resources/mapper/CustomProductImageMapper.xml
+24
-0
custom-server-domain/src/main/resources/mapper/CustomProductInfoMapper.xml
+92
-0
custom-server-domain/src/main/resources/mapper/CustomProductInfoPropertyMapper.xml
+22
-0
custom-server-domain/src/main/resources/mapper/CustomProductItemMapper.xml
+74
-0
custom-server-domain/src/main/resources/mapper/CustomProductRemarkMapper.xml
+20
-0
custom-server-domain/src/main/resources/mapper/CustomProductWarehouseRelMapper.xml
+18
-0
custom-server-domain/src/main/resources/mapper/LogCustomProductMapper.xml
+26
-0
custom-server-starter/src/main/java/com/jomalls/custom/config/RestResponseBodyConfig.java
+6
-0
custom-server-webapp/pom.xml
+5
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductBlacklistController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductCnRemarkController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductCraftRelController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductDiyUserRelController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductFactoryPriceIntervalRelController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductFactoryPriceRelController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductImageController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductInfoController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductInfoPropertyController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductItemController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductRemarkController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductWarehouseRelController.java
+104
-0
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/LogCustomProductController.java
+104
-0
No files found.
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductBlacklistPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:15
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductBlacklistPageVo"
)
public
class
CustomProductBlacklistPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@Schema
(
description
=
"custom_product_info的id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@Schema
(
description
=
"db_diy_user的id"
)
private
Integer
diyUserId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductBlacklistVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:15
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductBlacklistVO"
)
public
class
CustomProductBlacklistVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@Schema
(
description
=
"custom_product_info的id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@Schema
(
description
=
"db_diy_user的id"
)
private
Integer
diyUserId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCnRemarkPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductCnRemarkPageVo"
)
public
class
CustomProductCnRemarkPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@Schema
(
description
=
"id"
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* 内容
*/
@Schema
(
description
=
"内容"
)
private
String
remark
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCnRemarkVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductCnRemarkVO"
)
public
class
CustomProductCnRemarkVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@Schema
(
description
=
"id"
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* 内容
*/
@Schema
(
description
=
"内容"
)
private
String
remark
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCraftRelPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductCraftRelPageVo"
)
public
class
CustomProductCraftRelPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info 的id
*/
@Schema
(
description
=
"custom_product_info 的id"
)
private
Integer
productId
;
/**
* craft_center 的id
*/
@Schema
(
description
=
"craft_center 的id"
)
private
Long
craftId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductCraftRelVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductCraftRelVO"
)
public
class
CustomProductCraftRelVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info 的id
*/
@Schema
(
description
=
"custom_product_info 的id"
)
private
Integer
productId
;
/**
* craft_center 的id
*/
@Schema
(
description
=
"craft_center 的id"
)
private
Long
craftId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductDiyUserRelPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductDiyUserRelPageVo"
)
public
class
CustomProductDiyUserRelPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@Schema
(
description
=
"custom_product_info的id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@Schema
(
description
=
"db_diy_user的id"
)
private
Integer
diyUserId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductDiyUserRelVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductDiyUserRelVO"
)
public
class
CustomProductDiyUserRelVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@Schema
(
description
=
"custom_product_info的id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@Schema
(
description
=
"db_diy_user的id"
)
private
Integer
diyUserId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceIntervalRelPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductFactoryPriceIntervalRelPageVo"
)
public
class
CustomProductFactoryPriceIntervalRelPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info 表id
*/
@Schema
(
description
=
"custom_product_info 表id"
)
private
Integer
productId
;
/**
* 币种编码
*/
@Schema
(
description
=
"币种编码"
)
private
String
currencyCode
;
/**
* (系统成本)最大值
*/
@Schema
(
description
=
"(系统成本)最大值"
)
private
BigDecimal
priceMax
;
/**
* (系统成本)最小值
*/
@Schema
(
description
=
"(系统成本)最小值"
)
private
BigDecimal
priceMin
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceIntervalRelVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductFactoryPriceIntervalRelVO"
)
public
class
CustomProductFactoryPriceIntervalRelVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info 表id
*/
@Schema
(
description
=
"custom_product_info 表id"
)
private
Integer
productId
;
/**
* 币种编码
*/
@Schema
(
description
=
"币种编码"
)
private
String
currencyCode
;
/**
* (系统成本)最大值
*/
@Schema
(
description
=
"(系统成本)最大值"
)
private
BigDecimal
priceMax
;
/**
* (系统成本)最小值
*/
@Schema
(
description
=
"(系统成本)最小值"
)
private
BigDecimal
priceMin
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceRelPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductFactoryPriceRelPageVo"
)
public
class
CustomProductFactoryPriceRelPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* custom_product_item表id
*/
@Schema
(
description
=
"custom_product_item表id"
)
private
Integer
itemId
;
/**
* custom_product_item表sku
*/
@Schema
(
description
=
"custom_product_item表sku"
)
private
String
itemSku
;
/**
* db_diy表id
*/
@Schema
(
description
=
"db_diy表id"
)
private
Integer
factoryId
;
/**
* 工厂价格
*/
@Schema
(
description
=
"工厂价格"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@Schema
(
description
=
"销售价"
)
private
BigDecimal
salesPrice
;
/**
* 工厂币种
*/
@Schema
(
description
=
"工厂币种"
)
private
String
factoryCurrencyCode
;
/**
* 售卖币种
*/
@Schema
(
description
=
"售卖币种"
)
private
String
salesCurrencyCode
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
createTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
updateTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductFactoryPriceRelVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductFactoryPriceRelVO"
)
public
class
CustomProductFactoryPriceRelVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* custom_product_item表id
*/
@Schema
(
description
=
"custom_product_item表id"
)
private
Integer
itemId
;
/**
* custom_product_item表sku
*/
@Schema
(
description
=
"custom_product_item表sku"
)
private
String
itemSku
;
/**
* db_diy表id
*/
@Schema
(
description
=
"db_diy表id"
)
private
Integer
factoryId
;
/**
* 工厂价格
*/
@Schema
(
description
=
"工厂价格"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@Schema
(
description
=
"销售价"
)
private
BigDecimal
salesPrice
;
/**
* 工厂币种
*/
@Schema
(
description
=
"工厂币种"
)
private
String
factoryCurrencyCode
;
/**
* 售卖币种
*/
@Schema
(
description
=
"售卖币种"
)
private
String
salesCurrencyCode
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
createTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
updateTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductImagePageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductImagePageVo"
)
public
class
CustomProductImagePageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* 商品ID
*/
@Schema
(
description
=
"商品ID"
)
private
Integer
productId
;
/**
* 图片地址
*/
@Schema
(
description
=
"图片地址"
)
private
String
imageUrl
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 类型 0普通图片 1尺码图
*/
@Schema
(
description
=
"类型 0普通图片 1尺码图"
)
private
Integer
type
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductImageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductImageVO"
)
public
class
CustomProductImageVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* 商品ID
*/
@Schema
(
description
=
"商品ID"
)
private
Integer
productId
;
/**
* 图片地址
*/
@Schema
(
description
=
"图片地址"
)
private
String
imageUrl
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 类型 0普通图片 1尺码图
*/
@Schema
(
description
=
"类型 0普通图片 1尺码图"
)
private
Integer
type
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductInfoPageVo"
)
public
class
CustomProductInfoPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* sku
*/
@Schema
(
description
=
"sku"
)
private
String
sku
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
title
;
/**
* 商品名称
*/
@Schema
(
description
=
"商品名称"
)
private
String
name
;
/**
* 所属客户
*/
@Schema
(
description
=
"所属客户"
)
private
String
namespace
;
/**
* 所属工厂
*/
@Schema
(
description
=
"所属工厂"
)
private
Integer
affiliatedFactory
;
/**
* 第三方SKU
*/
@Schema
(
description
=
"第三方SKU"
)
private
String
thirdSku
;
/**
* 商品主图
*/
@Schema
(
description
=
"商品主图"
)
private
String
imgUrl
;
/**
* 商品类别ID
*/
@Schema
(
description
=
"商品类别ID"
)
private
Integer
categoryId
;
/**
* 重量kg
*/
@Schema
(
description
=
"重量kg"
)
private
BigDecimal
weight
;
/**
* 最小采购量
*/
@Schema
(
description
=
"最小采购量"
)
private
Integer
purchasingMin
;
/**
* 工厂价(¥)
*/
@Schema
(
description
=
"工厂价(¥)"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价(¥)
*/
@Schema
(
description
=
"销售价(¥)"
)
private
BigDecimal
salesPrice
;
/**
* 销售价最大值(¥)
*/
@Schema
(
description
=
"销售价最大值(¥)"
)
private
BigDecimal
salesPriceMax
;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@Schema
(
description
=
"1待上架 10已上架 20已下架 30待下架 40已作废"
)
private
Integer
status
;
/**
* 挂起前的状态
*/
@Schema
(
description
=
"挂起前的状态"
)
private
Integer
preSuspendStatus
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property1CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property2CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property3CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property1Enname
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property2Enname
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property3Enname
;
/**
* 颜色图
*/
@Schema
(
description
=
"颜色图"
)
private
String
colorImages
;
/**
* 材质
*/
@Schema
(
description
=
"材质"
)
private
String
material
;
/**
* 印花类型 0满印 1局部印
*/
@Schema
(
description
=
"印花类型 0满印 1局部印"
)
private
Integer
printType
;
/**
* 货号
*/
@Schema
(
description
=
"货号"
)
private
String
productNo
;
/**
* 产地code
*/
@Schema
(
description
=
"产地code"
)
private
String
originCode
;
/**
* 产地中文名字
*/
@Schema
(
description
=
"产地中文名字"
)
private
String
originNameCn
;
/**
* 产地英文名字
*/
@Schema
(
description
=
"产地英文名字"
)
private
String
originNameEn
;
/**
* 币种code
*/
@Schema
(
description
=
"币种code"
)
private
String
currencyCode
;
/**
* 币种
*/
@Schema
(
description
=
"币种"
)
private
String
currencyName
;
/**
* 平台直营 客户自营
*/
@Schema
(
description
=
"平台直营 客户自营"
)
private
String
productType
;
/**
* 工厂id
*/
@Schema
(
description
=
"工厂id"
)
private
Integer
factoryId
;
/**
* 工厂编码
*/
@Schema
(
description
=
"工厂编码"
)
private
String
factoryCode
;
/**
* 是否九猫处理
*/
@Schema
(
description
=
"是否九猫处理"
)
private
Boolean
processing
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
updateTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
sort
;
/**
* 默认模ID
*/
@Schema
(
description
=
"默认模ID"
)
private
Integer
diyId
;
/**
* 默认模SKU
*/
@Schema
(
description
=
"默认模SKU"
)
private
String
diySku
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPropertyPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductInfoPropertyPageVo"
)
public
class
CustomProductInfoPropertyPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
infoId
;
/**
* 属性类ID
*/
@Schema
(
description
=
"属性类ID"
)
private
Integer
propertyId
;
/**
* 属性值ID
*/
@Schema
(
description
=
"属性值ID"
)
private
Integer
valueId
;
/**
* 是否为SKU属性
*/
@Schema
(
description
=
"是否为SKU属性"
)
private
Boolean
skuProperty
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoPropertyVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductInfoPropertyVO"
)
public
class
CustomProductInfoPropertyVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
infoId
;
/**
* 属性类ID
*/
@Schema
(
description
=
"属性类ID"
)
private
Integer
propertyId
;
/**
* 属性值ID
*/
@Schema
(
description
=
"属性值ID"
)
private
Integer
valueId
;
/**
* 是否为SKU属性
*/
@Schema
(
description
=
"是否为SKU属性"
)
private
Boolean
skuProperty
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductInfoVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:16
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductInfoVO"
)
public
class
CustomProductInfoVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* sku
*/
@Schema
(
description
=
"sku"
)
private
String
sku
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
title
;
/**
* 商品名称
*/
@Schema
(
description
=
"商品名称"
)
private
String
name
;
/**
* 所属客户
*/
@Schema
(
description
=
"所属客户"
)
private
String
namespace
;
/**
* 所属工厂
*/
@Schema
(
description
=
"所属工厂"
)
private
Integer
affiliatedFactory
;
/**
* 第三方SKU
*/
@Schema
(
description
=
"第三方SKU"
)
private
String
thirdSku
;
/**
* 商品主图
*/
@Schema
(
description
=
"商品主图"
)
private
String
imgUrl
;
/**
* 商品类别ID
*/
@Schema
(
description
=
"商品类别ID"
)
private
Integer
categoryId
;
/**
* 重量kg
*/
@Schema
(
description
=
"重量kg"
)
private
BigDecimal
weight
;
/**
* 最小采购量
*/
@Schema
(
description
=
"最小采购量"
)
private
Integer
purchasingMin
;
/**
* 工厂价(¥)
*/
@Schema
(
description
=
"工厂价(¥)"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价(¥)
*/
@Schema
(
description
=
"销售价(¥)"
)
private
BigDecimal
salesPrice
;
/**
* 销售价最大值(¥)
*/
@Schema
(
description
=
"销售价最大值(¥)"
)
private
BigDecimal
salesPriceMax
;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@Schema
(
description
=
"1待上架 10已上架 20已下架 30待下架 40已作废"
)
private
Integer
status
;
/**
* 挂起前的状态
*/
@Schema
(
description
=
"挂起前的状态"
)
private
Integer
preSuspendStatus
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property1CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property2CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property3CateId
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property1Enname
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property2Enname
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
property3Enname
;
/**
* 颜色图
*/
@Schema
(
description
=
"颜色图"
)
private
String
colorImages
;
/**
* 材质
*/
@Schema
(
description
=
"材质"
)
private
String
material
;
/**
* 印花类型 0满印 1局部印
*/
@Schema
(
description
=
"印花类型 0满印 1局部印"
)
private
Integer
printType
;
/**
* 货号
*/
@Schema
(
description
=
"货号"
)
private
String
productNo
;
/**
* 产地code
*/
@Schema
(
description
=
"产地code"
)
private
String
originCode
;
/**
* 产地中文名字
*/
@Schema
(
description
=
"产地中文名字"
)
private
String
originNameCn
;
/**
* 产地英文名字
*/
@Schema
(
description
=
"产地英文名字"
)
private
String
originNameEn
;
/**
* 币种code
*/
@Schema
(
description
=
"币种code"
)
private
String
currencyCode
;
/**
* 币种
*/
@Schema
(
description
=
"币种"
)
private
String
currencyName
;
/**
* 平台直营 客户自营
*/
@Schema
(
description
=
"平台直营 客户自营"
)
private
String
productType
;
/**
* 工厂id
*/
@Schema
(
description
=
"工厂id"
)
private
Integer
factoryId
;
/**
* 工厂编码
*/
@Schema
(
description
=
"工厂编码"
)
private
String
factoryCode
;
/**
* 是否九猫处理
*/
@Schema
(
description
=
"是否九猫处理"
)
private
Boolean
processing
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Date
updateTime
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
sort
;
/**
* 默认模ID
*/
@Schema
(
description
=
"默认模ID"
)
private
Integer
diyId
;
/**
* 默认模SKU
*/
@Schema
(
description
=
"默认模SKU"
)
private
String
diySku
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductItemPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductItemPageVo"
)
public
class
CustomProductItemPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* 商品ID
*/
@Schema
(
description
=
"商品ID"
)
private
Integer
productId
;
/**
* sku
*/
@Schema
(
description
=
"sku"
)
private
String
sku
;
/**
* sku商品名称
*/
@Schema
(
description
=
"sku商品名称"
)
private
String
skuName
;
/**
* 封面图
*/
@Schema
(
description
=
"封面图"
)
private
String
image
;
/**
* 图片集
*/
@Schema
(
description
=
"图片集"
)
private
String
imageAry
;
/**
* 属性分类ID1
*/
@Schema
(
description
=
"属性分类ID1"
)
private
Integer
propertyCateId1
;
/**
* 属性分类ID2
*/
@Schema
(
description
=
"属性分类ID2"
)
private
Integer
propertyCateId2
;
/**
* 属性分类ID3
*/
@Schema
(
description
=
"属性分类ID3"
)
private
Integer
propertyCateId3
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property1Id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property2Id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property3Id
;
/**
* 属性编码1
*/
@Schema
(
description
=
"属性编码1"
)
private
String
propertyCode1
;
/**
* 属性编码2
*/
@Schema
(
description
=
"属性编码2"
)
private
String
propertyCode2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
propertyCode3
;
/**
* 属性名称1
*/
@Schema
(
description
=
"属性名称1"
)
private
String
optionEnname1
;
/**
* 属性名称2
*/
@Schema
(
description
=
"属性名称2"
)
private
String
optionEnname2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
optionEnname3
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue1
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue3
;
/**
* 工厂价
*/
@Schema
(
description
=
"工厂价"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@Schema
(
description
=
"销售价"
)
private
BigDecimal
salesPrice
;
/**
* sku克重
*/
@Schema
(
description
=
"sku克重"
)
private
BigDecimal
skuWeight
;
/**
* 注册数量
*/
@Schema
(
description
=
"注册数量"
)
private
Integer
regCount
;
/**
* 印花类型 0满印 1局部印
*/
@Schema
(
description
=
"印花类型 0满印 1局部印"
)
private
Integer
printType
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 货号
*/
@Schema
(
description
=
"货号"
)
private
String
productNo
;
/**
* 1正常码 2大码
*/
@Schema
(
description
=
"1正常码 2大码"
)
private
Integer
sizeType
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@Schema
(
description
=
"更新时间"
)
private
Date
updateTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductItemVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductItemVO"
)
public
class
CustomProductItemVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
* 商品ID
*/
@Schema
(
description
=
"商品ID"
)
private
Integer
productId
;
/**
* sku
*/
@Schema
(
description
=
"sku"
)
private
String
sku
;
/**
* sku商品名称
*/
@Schema
(
description
=
"sku商品名称"
)
private
String
skuName
;
/**
* 封面图
*/
@Schema
(
description
=
"封面图"
)
private
String
image
;
/**
* 图片集
*/
@Schema
(
description
=
"图片集"
)
private
String
imageAry
;
/**
* 属性分类ID1
*/
@Schema
(
description
=
"属性分类ID1"
)
private
Integer
propertyCateId1
;
/**
* 属性分类ID2
*/
@Schema
(
description
=
"属性分类ID2"
)
private
Integer
propertyCateId2
;
/**
* 属性分类ID3
*/
@Schema
(
description
=
"属性分类ID3"
)
private
Integer
propertyCateId3
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property1Id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property2Id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
property3Id
;
/**
* 属性编码1
*/
@Schema
(
description
=
"属性编码1"
)
private
String
propertyCode1
;
/**
* 属性编码2
*/
@Schema
(
description
=
"属性编码2"
)
private
String
propertyCode2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
propertyCode3
;
/**
* 属性名称1
*/
@Schema
(
description
=
"属性名称1"
)
private
String
optionEnname1
;
/**
* 属性名称2
*/
@Schema
(
description
=
"属性名称2"
)
private
String
optionEnname2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
optionEnname3
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue1
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue2
;
/**
*
*/
@Schema
(
description
=
""
)
private
String
customValue3
;
/**
* 工厂价
*/
@Schema
(
description
=
"工厂价"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@Schema
(
description
=
"销售价"
)
private
BigDecimal
salesPrice
;
/**
* sku克重
*/
@Schema
(
description
=
"sku克重"
)
private
BigDecimal
skuWeight
;
/**
* 注册数量
*/
@Schema
(
description
=
"注册数量"
)
private
Integer
regCount
;
/**
* 印花类型 0满印 1局部印
*/
@Schema
(
description
=
"印花类型 0满印 1局部印"
)
private
Integer
printType
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 货号
*/
@Schema
(
description
=
"货号"
)
private
String
productNo
;
/**
* 1正常码 2大码
*/
@Schema
(
description
=
"1正常码 2大码"
)
private
Integer
sizeType
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@Schema
(
description
=
"更新时间"
)
private
Date
updateTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductRemarkPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductRemarkPageVo"
)
public
class
CustomProductRemarkPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@Schema
(
description
=
"id"
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* 内容
*/
@Schema
(
description
=
"内容"
)
private
String
remark
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductRemarkVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductRemarkVO"
)
public
class
CustomProductRemarkVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@Schema
(
description
=
"id"
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@Schema
(
description
=
"custom_product_info表id"
)
private
Integer
productId
;
/**
* 内容
*/
@Schema
(
description
=
"内容"
)
private
String
remark
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductWarehouseRelPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"CustomProductWarehouseRelPageVo"
)
public
class
CustomProductWarehouseRelPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
productId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Long
warehouseId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/CustomProductWarehouseRelVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"CustomProductWarehouseRelVO"
)
public
class
CustomProductWarehouseRelVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
id
;
/**
*
*/
@Schema
(
description
=
""
)
private
Integer
productId
;
/**
*
*/
@Schema
(
description
=
""
)
private
Long
warehouseId
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/LogCustomProductPageVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* PageModel
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"LogCustomProductPageVo"
)
public
class
LogCustomProductPageVO
extends
PageRequest
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@Schema
(
description
=
"主键"
)
private
Long
id
;
/**
* 商品id(custom_product_info表id)
*/
@Schema
(
description
=
"商品id(custom_product_info表id)"
)
private
Integer
productId
;
/**
* 操作人id
*/
@Schema
(
description
=
"操作人id"
)
private
Integer
employeeId
;
/**
* 操作人账号
*/
@Schema
(
description
=
"操作人账号"
)
private
String
employeeAccount
;
/**
* 操作描述
*/
@Schema
(
description
=
"操作描述"
)
private
String
description
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
* 0 custom 1 factory 2都可以
*/
@Schema
(
description
=
"0 custom 1 factory 2都可以"
)
private
Integer
dataPermissions
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/LogCustomProductVO.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
lombok.*
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
* Model
*
* @author Lizh
* @date 2026-05-29 10:25:17
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema
(
description
=
"LogCustomProductVO"
)
public
class
LogCustomProductVO
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@Schema
(
description
=
"主键"
)
private
Long
id
;
/**
* 商品id(custom_product_info表id)
*/
@Schema
(
description
=
"商品id(custom_product_info表id)"
)
private
Integer
productId
;
/**
* 操作人id
*/
@Schema
(
description
=
"操作人id"
)
private
Integer
employeeId
;
/**
* 操作人账号
*/
@Schema
(
description
=
"操作人账号"
)
private
String
employeeAccount
;
/**
* 操作描述
*/
@Schema
(
description
=
"操作描述"
)
private
String
description
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
Date
createTime
;
/**
* 0 custom 1 factory 2都可以
*/
@Schema
(
description
=
"0 custom 1 factory 2都可以"
)
private
Integer
dataPermissions
;
}
custom-server-app/src/main/java/com/jomalls/custom/app/model/SysUserVO.java
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
model
;
import
com.jomalls.custom.page.PageRequest
;
import
lombok.*
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
import
io.swagger.v3.oas.annotations.media.Schema
;
/**
...
...
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductBlacklistService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductBlacklistPageVO
;
import
com.jomalls.custom.app.model.CustomProductBlacklistVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public
interface
CustomProductBlacklistService
{
/**
* 列表查询接口
*
* @param customProductBlacklistVO 条件model
* @return list集合
*/
List
<
CustomProductBlacklistVO
>
list
(
CustomProductBlacklistVO
customProductBlacklistVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductBlacklistPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductBlacklistVO
>
pageList
(
CustomProductBlacklistPageVO
customProductBlacklistPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductBlacklistVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductBlacklistVO 保存对象
*/
void
save
(
CustomProductBlacklistVO
customProductBlacklistVO
);
/**
* 根据id修改对象
*
* @param customProductBlacklistVO 修改对象
*/
void
updateById
(
CustomProductBlacklistVO
customProductBlacklistVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductCnRemarkService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public
interface
CustomProductCnRemarkService
{
/**
* 列表查询接口
*
* @param customProductCnRemarkVO 条件model
* @return list集合
*/
List
<
CustomProductCnRemarkVO
>
list
(
CustomProductCnRemarkVO
customProductCnRemarkVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductCnRemarkPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductCnRemarkVO
>
pageList
(
CustomProductCnRemarkPageVO
customProductCnRemarkPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductCnRemarkVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductCnRemarkVO 保存对象
*/
void
save
(
CustomProductCnRemarkVO
customProductCnRemarkVO
);
/**
* 根据id修改对象
*
* @param customProductCnRemarkVO 修改对象
*/
void
updateById
(
CustomProductCnRemarkVO
customProductCnRemarkVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductCraftRelService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductCraftRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductCraftRelVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:28
*/
public
interface
CustomProductCraftRelService
{
/**
* 列表查询接口
*
* @param customProductCraftRelVO 条件model
* @return list集合
*/
List
<
CustomProductCraftRelVO
>
list
(
CustomProductCraftRelVO
customProductCraftRelVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductCraftRelPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductCraftRelVO
>
pageList
(
CustomProductCraftRelPageVO
customProductCraftRelPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductCraftRelVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductCraftRelVO 保存对象
*/
void
save
(
CustomProductCraftRelVO
customProductCraftRelVO
);
/**
* 根据id修改对象
*
* @param customProductCraftRelVO 修改对象
*/
void
updateById
(
CustomProductCraftRelVO
customProductCraftRelVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductDiyUserRelService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductDiyUserRelService
{
/**
* 列表查询接口
*
* @param customProductDiyUserRelVO 条件model
* @return list集合
*/
List
<
CustomProductDiyUserRelVO
>
list
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductDiyUserRelPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductDiyUserRelVO
>
pageList
(
CustomProductDiyUserRelPageVO
customProductDiyUserRelPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductDiyUserRelVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductDiyUserRelVO 保存对象
*/
void
save
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
);
/**
* 根据id修改对象
*
* @param customProductDiyUserRelVO 修改对象
*/
void
updateById
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductFactoryPriceIntervalRelService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductFactoryPriceIntervalRelService
{
/**
* 列表查询接口
*
* @param customProductFactoryPriceIntervalRelVO 条件model
* @return list集合
*/
List
<
CustomProductFactoryPriceIntervalRelVO
>
list
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceIntervalRelPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductFactoryPriceIntervalRelVO
>
pageList
(
CustomProductFactoryPriceIntervalRelPageVO
customProductFactoryPriceIntervalRelPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductFactoryPriceIntervalRelVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductFactoryPriceIntervalRelVO 保存对象
*/
void
save
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
);
/**
* 根据id修改对象
*
* @param customProductFactoryPriceIntervalRelVO 修改对象
*/
void
updateById
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductFactoryPriceRelService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductFactoryPriceRelService
{
/**
* 列表查询接口
*
* @param customProductFactoryPriceRelVO 条件model
* @return list集合
*/
List
<
CustomProductFactoryPriceRelVO
>
list
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceRelPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductFactoryPriceRelVO
>
pageList
(
CustomProductFactoryPriceRelPageVO
customProductFactoryPriceRelPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductFactoryPriceRelVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductFactoryPriceRelVO 保存对象
*/
void
save
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
);
/**
* 根据id修改对象
*
* @param customProductFactoryPriceRelVO 修改对象
*/
void
updateById
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductImageService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductImagePageVO
;
import
com.jomalls.custom.app.model.CustomProductImageVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductImageService
{
/**
* 列表查询接口
*
* @param customProductImageVO 条件model
* @return list集合
*/
List
<
CustomProductImageVO
>
list
(
CustomProductImageVO
customProductImageVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductImagePageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductImageVO
>
pageList
(
CustomProductImagePageVO
customProductImagePageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductImageVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductImageVO 保存对象
*/
void
save
(
CustomProductImageVO
customProductImageVO
);
/**
* 根据id修改对象
*
* @param customProductImageVO 修改对象
*/
void
updateById
(
CustomProductImageVO
customProductImageVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductInfoPropertyService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductInfoPropertyService
{
/**
* 列表查询接口
*
* @param customProductInfoPropertyVO 条件model
* @return list集合
*/
List
<
CustomProductInfoPropertyVO
>
list
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPropertyPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductInfoPropertyVO
>
pageList
(
CustomProductInfoPropertyPageVO
customProductInfoPropertyPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductInfoPropertyVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductInfoPropertyVO 保存对象
*/
void
save
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
);
/**
* 根据id修改对象
*
* @param customProductInfoPropertyVO 修改对象
*/
void
updateById
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductInfoService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductInfoPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductInfoService
{
/**
* 列表查询接口
*
* @param customProductInfoVO 条件model
* @return list集合
*/
List
<
CustomProductInfoVO
>
list
(
CustomProductInfoVO
customProductInfoVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductInfoVO
>
pageList
(
CustomProductInfoPageVO
customProductInfoPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductInfoVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductInfoVO 保存对象
*/
void
save
(
CustomProductInfoVO
customProductInfoVO
);
/**
* 根据id修改对象
*
* @param customProductInfoVO 修改对象
*/
void
updateById
(
CustomProductInfoVO
customProductInfoVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductItemService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductItemPageVO
;
import
com.jomalls.custom.app.model.CustomProductItemVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductItemService
{
/**
* 列表查询接口
*
* @param customProductItemVO 条件model
* @return list集合
*/
List
<
CustomProductItemVO
>
list
(
CustomProductItemVO
customProductItemVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductItemPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductItemVO
>
pageList
(
CustomProductItemPageVO
customProductItemPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductItemVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductItemVO 保存对象
*/
void
save
(
CustomProductItemVO
customProductItemVO
);
/**
* 根据id修改对象
*
* @param customProductItemVO 修改对象
*/
void
updateById
(
CustomProductItemVO
customProductItemVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductRemarkService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductRemarkVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductRemarkService
{
/**
* 列表查询接口
*
* @param customProductRemarkVO 条件model
* @return list集合
*/
List
<
CustomProductRemarkVO
>
list
(
CustomProductRemarkVO
customProductRemarkVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductRemarkPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductRemarkVO
>
pageList
(
CustomProductRemarkPageVO
customProductRemarkPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductRemarkVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductRemarkVO 保存对象
*/
void
save
(
CustomProductRemarkVO
customProductRemarkVO
);
/**
* 根据id修改对象
*
* @param customProductRemarkVO 修改对象
*/
void
updateById
(
CustomProductRemarkVO
customProductRemarkVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/CustomProductWarehouseRelService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
CustomProductWarehouseRelService
{
/**
* 列表查询接口
*
* @param customProductWarehouseRelVO 条件model
* @return list集合
*/
List
<
CustomProductWarehouseRelVO
>
list
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
);
/**
* 根据条件查询分页列表接口
*
* @param customProductWarehouseRelPageVO 分页入参model
* @return 分页对象
*/
IPage
<
CustomProductWarehouseRelVO
>
pageList
(
CustomProductWarehouseRelPageVO
customProductWarehouseRelPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
CustomProductWarehouseRelVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param customProductWarehouseRelVO 保存对象
*/
void
save
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
);
/**
* 根据id修改对象
*
* @param customProductWarehouseRelVO 修改对象
*/
void
updateById
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/LogCustomProductService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.LogCustomProductPageVO
;
import
com.jomalls.custom.app.model.LogCustomProductVO
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-29 10:43:29
*/
public
interface
LogCustomProductService
{
/**
* 列表查询接口
*
* @param logCustomProductVO 条件model
* @return list集合
*/
List
<
LogCustomProductVO
>
list
(
LogCustomProductVO
logCustomProductVO
);
/**
* 根据条件查询分页列表接口
*
* @param logCustomProductPageVO 分页入参model
* @return 分页对象
*/
IPage
<
LogCustomProductVO
>
pageList
(
LogCustomProductPageVO
logCustomProductPageVO
);
/**
* 根据id查询详情
*
* @param id 主键
* @return 实体model
*/
LogCustomProductVO
info
(
Integer
id
);
/**
* 保存对象
*
* @param logCustomProductVO 保存对象
*/
void
save
(
LogCustomProductVO
logCustomProductVO
);
/**
* 根据id修改对象
*
* @param logCustomProductVO 修改对象
*/
void
updateById
(
LogCustomProductVO
logCustomProductVO
);
/**
* 根据主键ID进行删除
*
* @param id 主键
*/
void
deleteById
(
Integer
id
);
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductBlacklistServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductBlacklistPageVO
;
import
com.jomalls.custom.app.model.CustomProductBlacklistVO
;
import
com.jomalls.custom.app.service.CustomProductBlacklistService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductBlacklistEntity
;
import
com.jomalls.custom.domain.service.CustomProductBlacklistDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public
class
CustomProductBlacklistServiceImpl
implements
CustomProductBlacklistService
{
private
final
CustomProductBlacklistDomainService
customProductBlacklistDomainService
;
@Autowired
public
CustomProductBlacklistServiceImpl
(
CustomProductBlacklistDomainService
customProductBlacklistDomainService
)
{
this
.
customProductBlacklistDomainService
=
customProductBlacklistDomainService
;
}
@Override
public
List
<
CustomProductBlacklistVO
>
list
(
CustomProductBlacklistVO
customProductBlacklistVO
)
{
QueryWrapper
<
CustomProductBlacklistEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductBlacklistEntity
>
list
=
customProductBlacklistDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductBlacklistVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductBlacklistVO
>
pageList
(
CustomProductBlacklistPageVO
customProductBlacklistPageVO
)
{
CustomAsserts
.
nonNull
(
customProductBlacklistPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductBlacklistEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductBlacklistEntity
>
page
=
customProductBlacklistDomainService
.
selectPage
(
queryWrapper
,
customProductBlacklistPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductBlacklistVO
.
class
));
}
@Override
public
CustomProductBlacklistVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductBlacklistEntity
customProductBlacklist
=
customProductBlacklistDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductBlacklist
,
CustomProductBlacklistVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductBlacklistVO
customProductBlacklistVO
)
{
CustomAsserts
.
nonNull
(
customProductBlacklistVO
,
"实体对象不能为空"
);
CustomProductBlacklistEntity
customProductBlacklistEntity
=
BeanMapper
.
mapper
().
convert
(
customProductBlacklistVO
,
CustomProductBlacklistEntity
.
class
);
try
{
customProductBlacklistDomainService
.
save
(
customProductBlacklistEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductBlacklistServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductBlacklistVO
customProductBlacklistVO
)
{
CustomAsserts
.
nonNull
(
customProductBlacklistVO
,
"实体对象不能为空"
);
CustomProductBlacklistEntity
customProductBlacklist
=
BeanMapper
.
mapper
().
convert
(
customProductBlacklistVO
,
CustomProductBlacklistEntity
.
class
);
try
{
customProductBlacklistDomainService
.
updateById
(
customProductBlacklist
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductBlacklistServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductBlacklistDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductCnRemarkServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkVO
;
import
com.jomalls.custom.app.service.CustomProductCnRemarkService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity
;
import
com.jomalls.custom.domain.service.CustomProductCnRemarkDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public
class
CustomProductCnRemarkServiceImpl
implements
CustomProductCnRemarkService
{
private
final
CustomProductCnRemarkDomainService
customProductCnRemarkDomainService
;
@Autowired
public
CustomProductCnRemarkServiceImpl
(
CustomProductCnRemarkDomainService
customProductCnRemarkDomainService
)
{
this
.
customProductCnRemarkDomainService
=
customProductCnRemarkDomainService
;
}
@Override
public
List
<
CustomProductCnRemarkVO
>
list
(
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
QueryWrapper
<
CustomProductCnRemarkEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductCnRemarkEntity
>
list
=
customProductCnRemarkDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductCnRemarkVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductCnRemarkVO
>
pageList
(
CustomProductCnRemarkPageVO
customProductCnRemarkPageVO
)
{
CustomAsserts
.
nonNull
(
customProductCnRemarkPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductCnRemarkEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductCnRemarkEntity
>
page
=
customProductCnRemarkDomainService
.
selectPage
(
queryWrapper
,
customProductCnRemarkPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductCnRemarkVO
.
class
));
}
@Override
public
CustomProductCnRemarkVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductCnRemarkEntity
customProductCnRemark
=
customProductCnRemarkDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductCnRemark
,
CustomProductCnRemarkVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
CustomAsserts
.
nonNull
(
customProductCnRemarkVO
,
"实体对象不能为空"
);
CustomProductCnRemarkEntity
customProductCnRemarkEntity
=
BeanMapper
.
mapper
().
convert
(
customProductCnRemarkVO
,
CustomProductCnRemarkEntity
.
class
);
try
{
customProductCnRemarkDomainService
.
save
(
customProductCnRemarkEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductCnRemarkServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
CustomAsserts
.
nonNull
(
customProductCnRemarkVO
,
"实体对象不能为空"
);
CustomProductCnRemarkEntity
customProductCnRemark
=
BeanMapper
.
mapper
().
convert
(
customProductCnRemarkVO
,
CustomProductCnRemarkEntity
.
class
);
try
{
customProductCnRemarkDomainService
.
updateById
(
customProductCnRemark
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductCnRemarkServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductCnRemarkDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductCraftRelServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductCraftRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductCraftRelVO
;
import
com.jomalls.custom.app.service.CustomProductCraftRelService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductCraftRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductCraftRelDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:28
*/
@Slf4j
@Service
public
class
CustomProductCraftRelServiceImpl
implements
CustomProductCraftRelService
{
private
final
CustomProductCraftRelDomainService
customProductCraftRelDomainService
;
@Autowired
public
CustomProductCraftRelServiceImpl
(
CustomProductCraftRelDomainService
customProductCraftRelDomainService
)
{
this
.
customProductCraftRelDomainService
=
customProductCraftRelDomainService
;
}
@Override
public
List
<
CustomProductCraftRelVO
>
list
(
CustomProductCraftRelVO
customProductCraftRelVO
)
{
QueryWrapper
<
CustomProductCraftRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductCraftRelEntity
>
list
=
customProductCraftRelDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductCraftRelVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductCraftRelVO
>
pageList
(
CustomProductCraftRelPageVO
customProductCraftRelPageVO
)
{
CustomAsserts
.
nonNull
(
customProductCraftRelPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductCraftRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductCraftRelEntity
>
page
=
customProductCraftRelDomainService
.
selectPage
(
queryWrapper
,
customProductCraftRelPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductCraftRelVO
.
class
));
}
@Override
public
CustomProductCraftRelVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductCraftRelEntity
customProductCraftRel
=
customProductCraftRelDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductCraftRel
,
CustomProductCraftRelVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductCraftRelVO
customProductCraftRelVO
)
{
CustomAsserts
.
nonNull
(
customProductCraftRelVO
,
"实体对象不能为空"
);
CustomProductCraftRelEntity
customProductCraftRelEntity
=
BeanMapper
.
mapper
().
convert
(
customProductCraftRelVO
,
CustomProductCraftRelEntity
.
class
);
try
{
customProductCraftRelDomainService
.
save
(
customProductCraftRelEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductCraftRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductCraftRelVO
customProductCraftRelVO
)
{
CustomAsserts
.
nonNull
(
customProductCraftRelVO
,
"实体对象不能为空"
);
CustomProductCraftRelEntity
customProductCraftRel
=
BeanMapper
.
mapper
().
convert
(
customProductCraftRelVO
,
CustomProductCraftRelEntity
.
class
);
try
{
customProductCraftRelDomainService
.
updateById
(
customProductCraftRel
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductCraftRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductCraftRelDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductDiyUserRelServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelVO
;
import
com.jomalls.custom.app.service.CustomProductDiyUserRelService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductDiyUserRelDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductDiyUserRelServiceImpl
implements
CustomProductDiyUserRelService
{
private
final
CustomProductDiyUserRelDomainService
customProductDiyUserRelDomainService
;
@Autowired
public
CustomProductDiyUserRelServiceImpl
(
CustomProductDiyUserRelDomainService
customProductDiyUserRelDomainService
)
{
this
.
customProductDiyUserRelDomainService
=
customProductDiyUserRelDomainService
;
}
@Override
public
List
<
CustomProductDiyUserRelVO
>
list
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
QueryWrapper
<
CustomProductDiyUserRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductDiyUserRelEntity
>
list
=
customProductDiyUserRelDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductDiyUserRelVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductDiyUserRelVO
>
pageList
(
CustomProductDiyUserRelPageVO
customProductDiyUserRelPageVO
)
{
CustomAsserts
.
nonNull
(
customProductDiyUserRelPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductDiyUserRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductDiyUserRelEntity
>
page
=
customProductDiyUserRelDomainService
.
selectPage
(
queryWrapper
,
customProductDiyUserRelPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductDiyUserRelVO
.
class
));
}
@Override
public
CustomProductDiyUserRelVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductDiyUserRelEntity
customProductDiyUserRel
=
customProductDiyUserRelDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductDiyUserRel
,
CustomProductDiyUserRelVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
CustomAsserts
.
nonNull
(
customProductDiyUserRelVO
,
"实体对象不能为空"
);
CustomProductDiyUserRelEntity
customProductDiyUserRelEntity
=
BeanMapper
.
mapper
().
convert
(
customProductDiyUserRelVO
,
CustomProductDiyUserRelEntity
.
class
);
try
{
customProductDiyUserRelDomainService
.
save
(
customProductDiyUserRelEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductDiyUserRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
CustomAsserts
.
nonNull
(
customProductDiyUserRelVO
,
"实体对象不能为空"
);
CustomProductDiyUserRelEntity
customProductDiyUserRel
=
BeanMapper
.
mapper
().
convert
(
customProductDiyUserRelVO
,
CustomProductDiyUserRelEntity
.
class
);
try
{
customProductDiyUserRelDomainService
.
updateById
(
customProductDiyUserRel
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductDiyUserRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductDiyUserRelDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductFactoryPriceIntervalRelServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelVO
;
import
com.jomalls.custom.app.service.CustomProductFactoryPriceIntervalRelService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductFactoryPriceIntervalRelDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductFactoryPriceIntervalRelServiceImpl
implements
CustomProductFactoryPriceIntervalRelService
{
private
final
CustomProductFactoryPriceIntervalRelDomainService
customProductFactoryPriceIntervalRelDomainService
;
@Autowired
public
CustomProductFactoryPriceIntervalRelServiceImpl
(
CustomProductFactoryPriceIntervalRelDomainService
customProductFactoryPriceIntervalRelDomainService
)
{
this
.
customProductFactoryPriceIntervalRelDomainService
=
customProductFactoryPriceIntervalRelDomainService
;
}
@Override
public
List
<
CustomProductFactoryPriceIntervalRelVO
>
list
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
QueryWrapper
<
CustomProductFactoryPriceIntervalRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductFactoryPriceIntervalRelEntity
>
list
=
customProductFactoryPriceIntervalRelDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductFactoryPriceIntervalRelVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductFactoryPriceIntervalRelVO
>
pageList
(
CustomProductFactoryPriceIntervalRelPageVO
customProductFactoryPriceIntervalRelPageVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceIntervalRelPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductFactoryPriceIntervalRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductFactoryPriceIntervalRelEntity
>
page
=
customProductFactoryPriceIntervalRelDomainService
.
selectPage
(
queryWrapper
,
customProductFactoryPriceIntervalRelPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductFactoryPriceIntervalRelVO
.
class
));
}
@Override
public
CustomProductFactoryPriceIntervalRelVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductFactoryPriceIntervalRelEntity
customProductFactoryPriceIntervalRel
=
customProductFactoryPriceIntervalRelDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceIntervalRel
,
CustomProductFactoryPriceIntervalRelVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceIntervalRelVO
,
"实体对象不能为空"
);
CustomProductFactoryPriceIntervalRelEntity
customProductFactoryPriceIntervalRelEntity
=
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceIntervalRelVO
,
CustomProductFactoryPriceIntervalRelEntity
.
class
);
try
{
customProductFactoryPriceIntervalRelDomainService
.
save
(
customProductFactoryPriceIntervalRelEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductFactoryPriceIntervalRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceIntervalRelVO
,
"实体对象不能为空"
);
CustomProductFactoryPriceIntervalRelEntity
customProductFactoryPriceIntervalRel
=
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceIntervalRelVO
,
CustomProductFactoryPriceIntervalRelEntity
.
class
);
try
{
customProductFactoryPriceIntervalRelDomainService
.
updateById
(
customProductFactoryPriceIntervalRel
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductFactoryPriceIntervalRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductFactoryPriceIntervalRelDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductFactoryPriceRelServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelVO
;
import
com.jomalls.custom.app.service.CustomProductFactoryPriceRelService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductFactoryPriceRelDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductFactoryPriceRelServiceImpl
implements
CustomProductFactoryPriceRelService
{
private
final
CustomProductFactoryPriceRelDomainService
customProductFactoryPriceRelDomainService
;
@Autowired
public
CustomProductFactoryPriceRelServiceImpl
(
CustomProductFactoryPriceRelDomainService
customProductFactoryPriceRelDomainService
)
{
this
.
customProductFactoryPriceRelDomainService
=
customProductFactoryPriceRelDomainService
;
}
@Override
public
List
<
CustomProductFactoryPriceRelVO
>
list
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
QueryWrapper
<
CustomProductFactoryPriceRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductFactoryPriceRelEntity
>
list
=
customProductFactoryPriceRelDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductFactoryPriceRelVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductFactoryPriceRelVO
>
pageList
(
CustomProductFactoryPriceRelPageVO
customProductFactoryPriceRelPageVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceRelPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductFactoryPriceRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductFactoryPriceRelEntity
>
page
=
customProductFactoryPriceRelDomainService
.
selectPage
(
queryWrapper
,
customProductFactoryPriceRelPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductFactoryPriceRelVO
.
class
));
}
@Override
public
CustomProductFactoryPriceRelVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductFactoryPriceRelEntity
customProductFactoryPriceRel
=
customProductFactoryPriceRelDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceRel
,
CustomProductFactoryPriceRelVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceRelVO
,
"实体对象不能为空"
);
CustomProductFactoryPriceRelEntity
customProductFactoryPriceRelEntity
=
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceRelVO
,
CustomProductFactoryPriceRelEntity
.
class
);
try
{
customProductFactoryPriceRelDomainService
.
save
(
customProductFactoryPriceRelEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductFactoryPriceRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
CustomAsserts
.
nonNull
(
customProductFactoryPriceRelVO
,
"实体对象不能为空"
);
CustomProductFactoryPriceRelEntity
customProductFactoryPriceRel
=
BeanMapper
.
mapper
().
convert
(
customProductFactoryPriceRelVO
,
CustomProductFactoryPriceRelEntity
.
class
);
try
{
customProductFactoryPriceRelDomainService
.
updateById
(
customProductFactoryPriceRel
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductFactoryPriceRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductFactoryPriceRelDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductImageServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductImagePageVO
;
import
com.jomalls.custom.app.model.CustomProductImageVO
;
import
com.jomalls.custom.app.service.CustomProductImageService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductImageEntity
;
import
com.jomalls.custom.domain.service.CustomProductImageDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductImageServiceImpl
implements
CustomProductImageService
{
private
final
CustomProductImageDomainService
customProductImageDomainService
;
@Autowired
public
CustomProductImageServiceImpl
(
CustomProductImageDomainService
customProductImageDomainService
)
{
this
.
customProductImageDomainService
=
customProductImageDomainService
;
}
@Override
public
List
<
CustomProductImageVO
>
list
(
CustomProductImageVO
customProductImageVO
)
{
QueryWrapper
<
CustomProductImageEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductImageEntity
>
list
=
customProductImageDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductImageVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductImageVO
>
pageList
(
CustomProductImagePageVO
customProductImagePageVO
)
{
CustomAsserts
.
nonNull
(
customProductImagePageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductImageEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductImageEntity
>
page
=
customProductImageDomainService
.
selectPage
(
queryWrapper
,
customProductImagePageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductImageVO
.
class
));
}
@Override
public
CustomProductImageVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductImageEntity
customProductImage
=
customProductImageDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductImage
,
CustomProductImageVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductImageVO
customProductImageVO
)
{
CustomAsserts
.
nonNull
(
customProductImageVO
,
"实体对象不能为空"
);
CustomProductImageEntity
customProductImageEntity
=
BeanMapper
.
mapper
().
convert
(
customProductImageVO
,
CustomProductImageEntity
.
class
);
try
{
customProductImageDomainService
.
save
(
customProductImageEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductImageServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductImageVO
customProductImageVO
)
{
CustomAsserts
.
nonNull
(
customProductImageVO
,
"实体对象不能为空"
);
CustomProductImageEntity
customProductImage
=
BeanMapper
.
mapper
().
convert
(
customProductImageVO
,
CustomProductImageEntity
.
class
);
try
{
customProductImageDomainService
.
updateById
(
customProductImage
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductImageServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductImageDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductInfoPropertyServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyVO
;
import
com.jomalls.custom.app.service.CustomProductInfoPropertyService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity
;
import
com.jomalls.custom.domain.service.CustomProductInfoPropertyDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductInfoPropertyServiceImpl
implements
CustomProductInfoPropertyService
{
private
final
CustomProductInfoPropertyDomainService
customProductInfoPropertyDomainService
;
@Autowired
public
CustomProductInfoPropertyServiceImpl
(
CustomProductInfoPropertyDomainService
customProductInfoPropertyDomainService
)
{
this
.
customProductInfoPropertyDomainService
=
customProductInfoPropertyDomainService
;
}
@Override
public
List
<
CustomProductInfoPropertyVO
>
list
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
QueryWrapper
<
CustomProductInfoPropertyEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductInfoPropertyEntity
>
list
=
customProductInfoPropertyDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductInfoPropertyVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductInfoPropertyVO
>
pageList
(
CustomProductInfoPropertyPageVO
customProductInfoPropertyPageVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoPropertyPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductInfoPropertyEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductInfoPropertyEntity
>
page
=
customProductInfoPropertyDomainService
.
selectPage
(
queryWrapper
,
customProductInfoPropertyPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductInfoPropertyVO
.
class
));
}
@Override
public
CustomProductInfoPropertyVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductInfoPropertyEntity
customProductInfoProperty
=
customProductInfoPropertyDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductInfoProperty
,
CustomProductInfoPropertyVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoPropertyVO
,
"实体对象不能为空"
);
CustomProductInfoPropertyEntity
customProductInfoPropertyEntity
=
BeanMapper
.
mapper
().
convert
(
customProductInfoPropertyVO
,
CustomProductInfoPropertyEntity
.
class
);
try
{
customProductInfoPropertyDomainService
.
save
(
customProductInfoPropertyEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductInfoPropertyServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoPropertyVO
,
"实体对象不能为空"
);
CustomProductInfoPropertyEntity
customProductInfoProperty
=
BeanMapper
.
mapper
().
convert
(
customProductInfoPropertyVO
,
CustomProductInfoPropertyEntity
.
class
);
try
{
customProductInfoPropertyDomainService
.
updateById
(
customProductInfoProperty
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductInfoPropertyServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductInfoPropertyDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductInfoServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductInfoPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoVO
;
import
com.jomalls.custom.app.service.CustomProductInfoService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductInfoEntity
;
import
com.jomalls.custom.domain.service.CustomProductInfoDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductInfoServiceImpl
implements
CustomProductInfoService
{
private
final
CustomProductInfoDomainService
customProductInfoDomainService
;
@Autowired
public
CustomProductInfoServiceImpl
(
CustomProductInfoDomainService
customProductInfoDomainService
)
{
this
.
customProductInfoDomainService
=
customProductInfoDomainService
;
}
@Override
public
List
<
CustomProductInfoVO
>
list
(
CustomProductInfoVO
customProductInfoVO
)
{
QueryWrapper
<
CustomProductInfoEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductInfoEntity
>
list
=
customProductInfoDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductInfoVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductInfoVO
>
pageList
(
CustomProductInfoPageVO
customProductInfoPageVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductInfoEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductInfoEntity
>
page
=
customProductInfoDomainService
.
selectPage
(
queryWrapper
,
customProductInfoPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductInfoVO
.
class
));
}
@Override
public
CustomProductInfoVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductInfoEntity
customProductInfo
=
customProductInfoDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductInfo
,
CustomProductInfoVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductInfoVO
customProductInfoVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoVO
,
"实体对象不能为空"
);
CustomProductInfoEntity
customProductInfoEntity
=
BeanMapper
.
mapper
().
convert
(
customProductInfoVO
,
CustomProductInfoEntity
.
class
);
try
{
customProductInfoDomainService
.
save
(
customProductInfoEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductInfoServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductInfoVO
customProductInfoVO
)
{
CustomAsserts
.
nonNull
(
customProductInfoVO
,
"实体对象不能为空"
);
CustomProductInfoEntity
customProductInfo
=
BeanMapper
.
mapper
().
convert
(
customProductInfoVO
,
CustomProductInfoEntity
.
class
);
try
{
customProductInfoDomainService
.
updateById
(
customProductInfo
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductInfoServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductInfoDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductItemServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductItemPageVO
;
import
com.jomalls.custom.app.model.CustomProductItemVO
;
import
com.jomalls.custom.app.service.CustomProductItemService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductItemEntity
;
import
com.jomalls.custom.domain.service.CustomProductItemDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductItemServiceImpl
implements
CustomProductItemService
{
private
final
CustomProductItemDomainService
customProductItemDomainService
;
@Autowired
public
CustomProductItemServiceImpl
(
CustomProductItemDomainService
customProductItemDomainService
)
{
this
.
customProductItemDomainService
=
customProductItemDomainService
;
}
@Override
public
List
<
CustomProductItemVO
>
list
(
CustomProductItemVO
customProductItemVO
)
{
QueryWrapper
<
CustomProductItemEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductItemEntity
>
list
=
customProductItemDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductItemVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductItemVO
>
pageList
(
CustomProductItemPageVO
customProductItemPageVO
)
{
CustomAsserts
.
nonNull
(
customProductItemPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductItemEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductItemEntity
>
page
=
customProductItemDomainService
.
selectPage
(
queryWrapper
,
customProductItemPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductItemVO
.
class
));
}
@Override
public
CustomProductItemVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductItemEntity
customProductItem
=
customProductItemDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductItem
,
CustomProductItemVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductItemVO
customProductItemVO
)
{
CustomAsserts
.
nonNull
(
customProductItemVO
,
"实体对象不能为空"
);
CustomProductItemEntity
customProductItemEntity
=
BeanMapper
.
mapper
().
convert
(
customProductItemVO
,
CustomProductItemEntity
.
class
);
try
{
customProductItemDomainService
.
save
(
customProductItemEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductItemServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductItemVO
customProductItemVO
)
{
CustomAsserts
.
nonNull
(
customProductItemVO
,
"实体对象不能为空"
);
CustomProductItemEntity
customProductItem
=
BeanMapper
.
mapper
().
convert
(
customProductItemVO
,
CustomProductItemEntity
.
class
);
try
{
customProductItemDomainService
.
updateById
(
customProductItem
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductItemServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductItemDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductRemarkServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductRemarkVO
;
import
com.jomalls.custom.app.service.CustomProductRemarkService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductRemarkEntity
;
import
com.jomalls.custom.domain.service.CustomProductRemarkDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductRemarkServiceImpl
implements
CustomProductRemarkService
{
private
final
CustomProductRemarkDomainService
customProductRemarkDomainService
;
@Autowired
public
CustomProductRemarkServiceImpl
(
CustomProductRemarkDomainService
customProductRemarkDomainService
)
{
this
.
customProductRemarkDomainService
=
customProductRemarkDomainService
;
}
@Override
public
List
<
CustomProductRemarkVO
>
list
(
CustomProductRemarkVO
customProductRemarkVO
)
{
QueryWrapper
<
CustomProductRemarkEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductRemarkEntity
>
list
=
customProductRemarkDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductRemarkVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductRemarkVO
>
pageList
(
CustomProductRemarkPageVO
customProductRemarkPageVO
)
{
CustomAsserts
.
nonNull
(
customProductRemarkPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductRemarkEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductRemarkEntity
>
page
=
customProductRemarkDomainService
.
selectPage
(
queryWrapper
,
customProductRemarkPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductRemarkVO
.
class
));
}
@Override
public
CustomProductRemarkVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductRemarkEntity
customProductRemark
=
customProductRemarkDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductRemark
,
CustomProductRemarkVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductRemarkVO
customProductRemarkVO
)
{
CustomAsserts
.
nonNull
(
customProductRemarkVO
,
"实体对象不能为空"
);
CustomProductRemarkEntity
customProductRemarkEntity
=
BeanMapper
.
mapper
().
convert
(
customProductRemarkVO
,
CustomProductRemarkEntity
.
class
);
try
{
customProductRemarkDomainService
.
save
(
customProductRemarkEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductRemarkServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductRemarkVO
customProductRemarkVO
)
{
CustomAsserts
.
nonNull
(
customProductRemarkVO
,
"实体对象不能为空"
);
CustomProductRemarkEntity
customProductRemark
=
BeanMapper
.
mapper
().
convert
(
customProductRemarkVO
,
CustomProductRemarkEntity
.
class
);
try
{
customProductRemarkDomainService
.
updateById
(
customProductRemark
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductRemarkServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductRemarkDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/CustomProductWarehouseRelServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelVO
;
import
com.jomalls.custom.app.service.CustomProductWarehouseRelService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductWarehouseRelDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
CustomProductWarehouseRelServiceImpl
implements
CustomProductWarehouseRelService
{
private
final
CustomProductWarehouseRelDomainService
customProductWarehouseRelDomainService
;
@Autowired
public
CustomProductWarehouseRelServiceImpl
(
CustomProductWarehouseRelDomainService
customProductWarehouseRelDomainService
)
{
this
.
customProductWarehouseRelDomainService
=
customProductWarehouseRelDomainService
;
}
@Override
public
List
<
CustomProductWarehouseRelVO
>
list
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
QueryWrapper
<
CustomProductWarehouseRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
CustomProductWarehouseRelEntity
>
list
=
customProductWarehouseRelDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductWarehouseRelVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
CustomProductWarehouseRelVO
>
pageList
(
CustomProductWarehouseRelPageVO
customProductWarehouseRelPageVO
)
{
CustomAsserts
.
nonNull
(
customProductWarehouseRelPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
CustomProductWarehouseRelEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
CustomProductWarehouseRelEntity
>
page
=
customProductWarehouseRelDomainService
.
selectPage
(
queryWrapper
,
customProductWarehouseRelPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
CustomProductWarehouseRelVO
.
class
));
}
@Override
public
CustomProductWarehouseRelVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
CustomProductWarehouseRelEntity
customProductWarehouseRel
=
customProductWarehouseRelDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
customProductWarehouseRel
,
CustomProductWarehouseRelVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
CustomAsserts
.
nonNull
(
customProductWarehouseRelVO
,
"实体对象不能为空"
);
CustomProductWarehouseRelEntity
customProductWarehouseRelEntity
=
BeanMapper
.
mapper
().
convert
(
customProductWarehouseRelVO
,
CustomProductWarehouseRelEntity
.
class
);
try
{
customProductWarehouseRelDomainService
.
save
(
customProductWarehouseRelEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductWarehouseRelServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
CustomAsserts
.
nonNull
(
customProductWarehouseRelVO
,
"实体对象不能为空"
);
CustomProductWarehouseRelEntity
customProductWarehouseRel
=
BeanMapper
.
mapper
().
convert
(
customProductWarehouseRelVO
,
CustomProductWarehouseRelEntity
.
class
);
try
{
customProductWarehouseRelDomainService
.
updateById
(
customProductWarehouseRel
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ CustomProductWarehouseRelServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
customProductWarehouseRelDomainService
.
removeById
(
id
);
}
}
custom-server-app/src/main/java/com/jomalls/custom/app/service/impl/LogCustomProductServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
app
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.exception.ServiceException
;
import
com.jomalls.custom.app.model.LogCustomProductPageVO
;
import
com.jomalls.custom.app.model.LogCustomProductVO
;
import
com.jomalls.custom.app.service.LogCustomProductService
;
import
com.jomalls.custom.app.utils.BeanMapper
;
import
com.jomalls.custom.app.utils.CustomAsserts
;
import
com.jomalls.custom.dal.entity.LogCustomProductEntity
;
import
com.jomalls.custom.domain.service.LogCustomProductDomainService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.dao.DuplicateKeyException
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-29 10:43:29
*/
@Slf4j
@Service
public
class
LogCustomProductServiceImpl
implements
LogCustomProductService
{
private
final
LogCustomProductDomainService
logCustomProductDomainService
;
@Autowired
public
LogCustomProductServiceImpl
(
LogCustomProductDomainService
logCustomProductDomainService
)
{
this
.
logCustomProductDomainService
=
logCustomProductDomainService
;
}
@Override
public
List
<
LogCustomProductVO
>
list
(
LogCustomProductVO
logCustomProductVO
)
{
QueryWrapper
<
LogCustomProductEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
List
<
LogCustomProductEntity
>
list
=
logCustomProductDomainService
.
list
(
queryWrapper
);
return
list
.
stream
().
map
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
LogCustomProductVO
.
class
)).
collect
(
Collectors
.
toList
());
}
@Override
public
IPage
<
LogCustomProductVO
>
pageList
(
LogCustomProductPageVO
logCustomProductPageVO
)
{
CustomAsserts
.
nonNull
(
logCustomProductPageVO
,
"分页查询参数不能为空"
);
QueryWrapper
<
LogCustomProductEntity
>
queryWrapper
=
new
QueryWrapper
<>();
// TODO 根据业务条件组装入参
IPage
<
LogCustomProductEntity
>
page
=
logCustomProductDomainService
.
selectPage
(
queryWrapper
,
logCustomProductPageVO
);
return
page
.
convert
(
e
->
BeanMapper
.
mapper
().
convert
(
e
,
LogCustomProductVO
.
class
));
}
@Override
public
LogCustomProductVO
info
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
LogCustomProductEntity
logCustomProduct
=
logCustomProductDomainService
.
getById
(
id
);
return
BeanMapper
.
mapper
().
convert
(
logCustomProduct
,
LogCustomProductVO
.
class
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
save
(
LogCustomProductVO
logCustomProductVO
)
{
CustomAsserts
.
nonNull
(
logCustomProductVO
,
"实体对象不能为空"
);
LogCustomProductEntity
logCustomProductEntity
=
BeanMapper
.
mapper
().
convert
(
logCustomProductVO
,
LogCustomProductEntity
.
class
);
try
{
logCustomProductDomainService
.
save
(
logCustomProductEntity
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ LogCustomProductServiceImpl save ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
updateById
(
LogCustomProductVO
logCustomProductVO
)
{
CustomAsserts
.
nonNull
(
logCustomProductVO
,
"实体对象不能为空"
);
LogCustomProductEntity
logCustomProduct
=
BeanMapper
.
mapper
().
convert
(
logCustomProductVO
,
LogCustomProductEntity
.
class
);
try
{
logCustomProductDomainService
.
updateById
(
logCustomProduct
);
}
catch
(
DuplicateKeyException
e
)
{
log
.
info
(
"[ LogCustomProductServiceImpl updateById ] 实体对象唯一约束重复,请调整后再试!"
,
e
);
throw
new
ServiceException
(
"实体对象唯一约束重复,请调整后再试!"
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
void
deleteById
(
Integer
id
)
{
CustomAsserts
.
nonNull
(
id
,
"主键id不能为空"
);
logCustomProductDomainService
.
removeById
(
id
);
}
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductBlacklistEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_blacklist"
)
public
class
CustomProductBlacklistEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@TableField
(
"diy_user_id"
)
private
Integer
diyUserId
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductCnRemarkEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_cn_remark"
)
public
class
CustomProductCnRemarkEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* 内容
*/
@TableField
(
"remark"
)
private
String
remark
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductCraftRelEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_craft_rel"
)
public
class
CustomProductCraftRelEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info 的id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* craft_center 的id
*/
@TableField
(
"craft_id"
)
private
Long
craftId
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductDiyUserRelEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_diy_user_rel"
)
public
class
CustomProductDiyUserRelEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info的id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* db_diy_user的id
*/
@TableField
(
"diy_user_id"
)
private
Integer
diyUserId
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductFactoryPriceIntervalRelEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_factory_price_interval_rel"
)
public
class
CustomProductFactoryPriceIntervalRelEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info 表id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* 币种编码
*/
@TableField
(
"currency_code"
)
private
String
currencyCode
;
/**
* (系统成本)最大值
*/
@TableField
(
"price_max"
)
private
BigDecimal
priceMax
;
/**
* (系统成本)最小值
*/
@TableField
(
"price_min"
)
private
BigDecimal
priceMin
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductFactoryPriceRelEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_factory_price_rel"
)
public
class
CustomProductFactoryPriceRelEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* custom_product_item表id
*/
@TableField
(
"item_id"
)
private
Integer
itemId
;
/**
* custom_product_item表sku
*/
@TableField
(
"item_sku"
)
private
String
itemSku
;
/**
* db_diy表id
*/
@TableField
(
"factory_id"
)
private
Integer
factoryId
;
/**
* 工厂价格
*/
@TableField
(
"factory_price"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@TableField
(
"sales_price"
)
private
BigDecimal
salesPrice
;
/**
* 工厂币种
*/
@TableField
(
"factory_currency_code"
)
private
String
factoryCurrencyCode
;
/**
* 售卖币种
*/
@TableField
(
"sales_currency_code"
)
private
String
salesCurrencyCode
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
/**
* 更新时间
*/
@TableField
(
"update_time"
)
private
Date
updateTime
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductImageEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_image"
)
public
class
CustomProductImageEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键ID
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* 商品ID
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* 图片地址
*/
@TableField
(
"image_url"
)
private
String
imageUrl
;
/**
* 排序
*/
@TableField
(
"sort"
)
private
Integer
sort
;
/**
* 类型 0普通图片 1尺码图
*/
@TableField
(
"type"
)
private
Integer
type
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductInfoEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_info"
)
public
class
CustomProductInfoEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* sku
*/
@TableField
(
"sku"
)
private
String
sku
;
/**
*
*/
@TableField
(
"title"
)
private
String
title
;
/**
* 商品名称
*/
@TableField
(
"name"
)
private
String
name
;
/**
* 所属客户
*/
@TableField
(
"namespace"
)
private
String
namespace
;
/**
* 所属工厂
*/
@TableField
(
"affiliated_factory"
)
private
Integer
affiliatedFactory
;
/**
* 第三方SKU
*/
@TableField
(
"third_sku"
)
private
String
thirdSku
;
/**
* 商品主图
*/
@TableField
(
"img_url"
)
private
String
imgUrl
;
/**
* 商品类别ID
*/
@TableField
(
"category_id"
)
private
Integer
categoryId
;
/**
* 重量kg
*/
@TableField
(
"weight"
)
private
BigDecimal
weight
;
/**
* 最小采购量
*/
@TableField
(
"purchasing_min"
)
private
Integer
purchasingMin
;
/**
* 工厂价(¥)
*/
@TableField
(
"factory_price"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价(¥)
*/
@TableField
(
"sales_price"
)
private
BigDecimal
salesPrice
;
/**
* 销售价最大值(¥)
*/
@TableField
(
"sales_price_max"
)
private
BigDecimal
salesPriceMax
;
/**
* 1待上架 10已上架 20已下架 30待下架 40已作废
*/
@TableField
(
"status"
)
private
Integer
status
;
/**
* 挂起前的状态
*/
@TableField
(
"pre_suspend_status"
)
private
Integer
preSuspendStatus
;
/**
*
*/
@TableField
(
"property1_cate_id"
)
private
Integer
property1CateId
;
/**
*
*/
@TableField
(
"property2_cate_id"
)
private
Integer
property2CateId
;
/**
*
*/
@TableField
(
"property3_cate_id"
)
private
Integer
property3CateId
;
/**
*
*/
@TableField
(
"property1_enname"
)
private
String
property1Enname
;
/**
*
*/
@TableField
(
"property2_enname"
)
private
String
property2Enname
;
/**
*
*/
@TableField
(
"property3_enname"
)
private
String
property3Enname
;
/**
* 颜色图
*/
@TableField
(
"color_images"
)
private
String
colorImages
;
/**
* 材质
*/
@TableField
(
"material"
)
private
String
material
;
/**
* 印花类型 0满印 1局部印
*/
@TableField
(
"print_type"
)
private
Integer
printType
;
/**
* 货号
*/
@TableField
(
"product_no"
)
private
String
productNo
;
/**
* 产地code
*/
@TableField
(
"origin_code"
)
private
String
originCode
;
/**
* 产地中文名字
*/
@TableField
(
"origin_name_cn"
)
private
String
originNameCn
;
/**
* 产地英文名字
*/
@TableField
(
"origin_name_en"
)
private
String
originNameEn
;
/**
* 币种code
*/
@TableField
(
"currency_code"
)
private
String
currencyCode
;
/**
* 币种
*/
@TableField
(
"currency_name"
)
private
String
currencyName
;
/**
* 平台直营 客户自营
*/
@TableField
(
"product_type"
)
private
String
productType
;
/**
* 工厂id
*/
@TableField
(
"factory_id"
)
private
Integer
factoryId
;
/**
* 工厂编码
*/
@TableField
(
"factory_code"
)
private
String
factoryCode
;
/**
* 是否九猫处理
*/
@TableField
(
"processing"
)
private
Boolean
processing
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
/**
*
*/
@TableField
(
"update_time"
)
private
Date
updateTime
;
/**
*
*/
@TableField
(
"sort"
)
private
Integer
sort
;
/**
* 默认模ID
*/
@TableField
(
"diy_id"
)
private
Integer
diyId
;
/**
* 默认模SKU
*/
@TableField
(
"diy_sku"
)
private
String
diySku
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductInfoPropertyEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:12
*/
@Data
@TableName
(
"custom_product_info_property"
)
public
class
CustomProductInfoPropertyEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@TableField
(
"info_id"
)
private
Integer
infoId
;
/**
* 属性类ID
*/
@TableField
(
"property_id"
)
private
Integer
propertyId
;
/**
* 属性值ID
*/
@TableField
(
"value_id"
)
private
Integer
valueId
;
/**
* 是否为SKU属性
*/
@TableField
(
"sku_property"
)
private
Boolean
skuProperty
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductItemEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:13
*/
@Data
@TableName
(
"custom_product_item"
)
public
class
CustomProductItemEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* 商品ID
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* sku
*/
@TableField
(
"sku"
)
private
String
sku
;
/**
* sku商品名称
*/
@TableField
(
"sku_name"
)
private
String
skuName
;
/**
* 封面图
*/
@TableField
(
"image"
)
private
String
image
;
/**
* 图片集
*/
@TableField
(
"image_ary"
)
private
String
imageAry
;
/**
* 属性分类ID1
*/
@TableField
(
"property_cate_id1"
)
private
Integer
propertyCateId1
;
/**
* 属性分类ID2
*/
@TableField
(
"property_cate_id2"
)
private
Integer
propertyCateId2
;
/**
* 属性分类ID3
*/
@TableField
(
"property_cate_id3"
)
private
Integer
propertyCateId3
;
/**
*
*/
@TableField
(
"property1_id"
)
private
Integer
property1Id
;
/**
*
*/
@TableField
(
"property2_id"
)
private
Integer
property2Id
;
/**
*
*/
@TableField
(
"property3_id"
)
private
Integer
property3Id
;
/**
* 属性编码1
*/
@TableField
(
"property_code1"
)
private
String
propertyCode1
;
/**
* 属性编码2
*/
@TableField
(
"property_code2"
)
private
String
propertyCode2
;
/**
*
*/
@TableField
(
"property_code3"
)
private
String
propertyCode3
;
/**
* 属性名称1
*/
@TableField
(
"option_enname1"
)
private
String
optionEnname1
;
/**
* 属性名称2
*/
@TableField
(
"option_enname2"
)
private
String
optionEnname2
;
/**
*
*/
@TableField
(
"option_enname3"
)
private
String
optionEnname3
;
/**
*
*/
@TableField
(
"custom_value1"
)
private
String
customValue1
;
/**
*
*/
@TableField
(
"custom_value2"
)
private
String
customValue2
;
/**
*
*/
@TableField
(
"custom_value3"
)
private
String
customValue3
;
/**
* 工厂价
*/
@TableField
(
"factory_price"
)
private
BigDecimal
factoryPrice
;
/**
* 销售价
*/
@TableField
(
"sales_price"
)
private
BigDecimal
salesPrice
;
/**
* sku克重
*/
@TableField
(
"sku_weight"
)
private
BigDecimal
skuWeight
;
/**
* 注册数量
*/
@TableField
(
"reg_count"
)
private
Integer
regCount
;
/**
* 印花类型 0满印 1局部印
*/
@TableField
(
"print_type"
)
private
Integer
printType
;
/**
* 排序
*/
@TableField
(
"sort"
)
private
Integer
sort
;
/**
* 货号
*/
@TableField
(
"product_no"
)
private
String
productNo
;
/**
* 1正常码 2大码
*/
@TableField
(
"size_type"
)
private
Integer
sizeType
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
/**
* 更新时间
*/
@TableField
(
"update_time"
)
private
Date
updateTime
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductRemarkEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:13
*/
@Data
@TableName
(
"custom_product_remark"
)
public
class
CustomProductRemarkEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* id
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
* custom_product_info表id
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* 内容
*/
@TableField
(
"remark"
)
private
String
remark
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/CustomProductWarehouseRelEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:13
*/
@Data
@TableName
(
"custom_product_warehouse_rel"
)
public
class
CustomProductWarehouseRelEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Integer
id
;
/**
*
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
*
*/
@TableField
(
"warehouse_id"
)
private
Long
warehouseId
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/entity/LogCustomProductEntity.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serial
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* Entity
*
* @author Lizh
* @date 2026-05-28 19:07:13
*/
@Data
@TableName
(
"log_custom_product"
)
public
class
LogCustomProductEntity
implements
Serializable
{
@Serial
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
Long
id
;
/**
* 商品id(custom_product_info表id)
*/
@TableField
(
"product_id"
)
private
Integer
productId
;
/**
* 操作人id
*/
@TableField
(
"employee_id"
)
private
Integer
employeeId
;
/**
* 操作人账号
*/
@TableField
(
"employee_account"
)
private
String
employeeAccount
;
/**
* 操作描述
*/
@TableField
(
"description"
)
private
String
description
;
/**
* 创建时间
*/
@TableField
(
"create_time"
)
private
Date
createTime
;
/**
* 0 custom 1 factory 2都可以
*/
@TableField
(
"data_permissions"
)
private
Integer
dataPermissions
;
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductBlacklistMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductBlacklistEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductBlacklistMapper
extends
BaseMapper
<
CustomProductBlacklistEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductCnRemarkMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductCnRemarkMapper
extends
BaseMapper
<
CustomProductCnRemarkEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductCraftRelMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductCraftRelEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductCraftRelMapper
extends
BaseMapper
<
CustomProductCraftRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductDiyUserRelMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductDiyUserRelMapper
extends
BaseMapper
<
CustomProductDiyUserRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductFactoryPriceIntervalRelMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductFactoryPriceIntervalRelMapper
extends
BaseMapper
<
CustomProductFactoryPriceIntervalRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductFactoryPriceRelMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductFactoryPriceRelMapper
extends
BaseMapper
<
CustomProductFactoryPriceRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductImageMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductImageEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductImageMapper
extends
BaseMapper
<
CustomProductImageEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductInfoMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductInfoEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductInfoMapper
extends
BaseMapper
<
CustomProductInfoEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductInfoPropertyMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:12
*/
@Mapper
public
interface
CustomProductInfoPropertyMapper
extends
BaseMapper
<
CustomProductInfoPropertyEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductItemMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductItemEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:13
*/
@Mapper
public
interface
CustomProductItemMapper
extends
BaseMapper
<
CustomProductItemEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductRemarkMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductRemarkEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:13
*/
@Mapper
public
interface
CustomProductRemarkMapper
extends
BaseMapper
<
CustomProductRemarkEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/CustomProductWarehouseRelMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:13
*/
@Mapper
public
interface
CustomProductWarehouseRelMapper
extends
BaseMapper
<
CustomProductWarehouseRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/dal/mapper/LogCustomProductMapper.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
dal
.
mapper
;
import
com.jomalls.custom.dal.entity.LogCustomProductEntity
;
import
com.jomalls.custom.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Lizh
* @version 0.01
* @description: mapper
* @date 2026-05-28 19:07:13
*/
@Mapper
public
interface
LogCustomProductMapper
extends
BaseMapper
<
LogCustomProductEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductBlacklistDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductBlacklistEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductBlacklistDomainService
extends
IBaseService
<
CustomProductBlacklistEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductCnRemarkDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductCnRemarkDomainService
extends
IBaseService
<
CustomProductCnRemarkEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductCraftRelDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductCraftRelEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductCraftRelDomainService
extends
IBaseService
<
CustomProductCraftRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductDiyUserRelDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductDiyUserRelDomainService
extends
IBaseService
<
CustomProductDiyUserRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductFactoryPriceIntervalRelDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductFactoryPriceIntervalRelDomainService
extends
IBaseService
<
CustomProductFactoryPriceIntervalRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductFactoryPriceRelDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductFactoryPriceRelDomainService
extends
IBaseService
<
CustomProductFactoryPriceRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductImageDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductImageEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductImageDomainService
extends
IBaseService
<
CustomProductImageEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductInfoDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductInfoEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductInfoDomainService
extends
IBaseService
<
CustomProductInfoEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductInfoPropertyDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:12
*/
public
interface
CustomProductInfoPropertyDomainService
extends
IBaseService
<
CustomProductInfoPropertyEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductItemDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductItemEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:13
*/
public
interface
CustomProductItemDomainService
extends
IBaseService
<
CustomProductItemEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductRemarkDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductRemarkEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:13
*/
public
interface
CustomProductRemarkDomainService
extends
IBaseService
<
CustomProductRemarkEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/CustomProductWarehouseRelDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:13
*/
public
interface
CustomProductWarehouseRelDomainService
extends
IBaseService
<
CustomProductWarehouseRelEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/LogCustomProductDomainService.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
;
import
com.jomalls.custom.dal.entity.LogCustomProductEntity
;
import
com.jomalls.custom.service.IBaseService
;
/**
* @author Lizh
* @version 0.01
* @description: 接口
* @date 2026-05-28 19:07:13
*/
public
interface
LogCustomProductDomainService
extends
IBaseService
<
LogCustomProductEntity
>
{
}
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductBlacklistDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductBlacklistMapper
;
import
com.jomalls.custom.dal.entity.CustomProductBlacklistEntity
;
import
com.jomalls.custom.domain.service.CustomProductBlacklistDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductBlacklistDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductBlacklistMapper
,
CustomProductBlacklistEntity
>
implements
CustomProductBlacklistDomainService
{
@Autowired
public
CustomProductBlacklistDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductCnRemarkDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductCnRemarkMapper
;
import
com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity
;
import
com.jomalls.custom.domain.service.CustomProductCnRemarkDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductCnRemarkDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductCnRemarkMapper
,
CustomProductCnRemarkEntity
>
implements
CustomProductCnRemarkDomainService
{
@Autowired
public
CustomProductCnRemarkDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductCraftRelDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductCraftRelMapper
;
import
com.jomalls.custom.dal.entity.CustomProductCraftRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductCraftRelDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductCraftRelDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductCraftRelMapper
,
CustomProductCraftRelEntity
>
implements
CustomProductCraftRelDomainService
{
@Autowired
public
CustomProductCraftRelDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductDiyUserRelDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductDiyUserRelMapper
;
import
com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductDiyUserRelDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductDiyUserRelDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductDiyUserRelMapper
,
CustomProductDiyUserRelEntity
>
implements
CustomProductDiyUserRelDomainService
{
@Autowired
public
CustomProductDiyUserRelDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductFactoryPriceIntervalRelDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductFactoryPriceIntervalRelMapper
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductFactoryPriceIntervalRelDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductFactoryPriceIntervalRelDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductFactoryPriceIntervalRelMapper
,
CustomProductFactoryPriceIntervalRelEntity
>
implements
CustomProductFactoryPriceIntervalRelDomainService
{
@Autowired
public
CustomProductFactoryPriceIntervalRelDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductFactoryPriceRelDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductFactoryPriceRelMapper
;
import
com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductFactoryPriceRelDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductFactoryPriceRelDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductFactoryPriceRelMapper
,
CustomProductFactoryPriceRelEntity
>
implements
CustomProductFactoryPriceRelDomainService
{
@Autowired
public
CustomProductFactoryPriceRelDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductImageDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductImageMapper
;
import
com.jomalls.custom.dal.entity.CustomProductImageEntity
;
import
com.jomalls.custom.domain.service.CustomProductImageDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductImageDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductImageMapper
,
CustomProductImageEntity
>
implements
CustomProductImageDomainService
{
@Autowired
public
CustomProductImageDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductInfoDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductInfoMapper
;
import
com.jomalls.custom.dal.entity.CustomProductInfoEntity
;
import
com.jomalls.custom.domain.service.CustomProductInfoDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductInfoDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductInfoMapper
,
CustomProductInfoEntity
>
implements
CustomProductInfoDomainService
{
@Autowired
public
CustomProductInfoDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductInfoPropertyDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductInfoPropertyMapper
;
import
com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity
;
import
com.jomalls.custom.domain.service.CustomProductInfoPropertyDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:12
*/
@Service
public
class
CustomProductInfoPropertyDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductInfoPropertyMapper
,
CustomProductInfoPropertyEntity
>
implements
CustomProductInfoPropertyDomainService
{
@Autowired
public
CustomProductInfoPropertyDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductItemDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductItemMapper
;
import
com.jomalls.custom.dal.entity.CustomProductItemEntity
;
import
com.jomalls.custom.domain.service.CustomProductItemDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:13
*/
@Service
public
class
CustomProductItemDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductItemMapper
,
CustomProductItemEntity
>
implements
CustomProductItemDomainService
{
@Autowired
public
CustomProductItemDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductRemarkDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductRemarkMapper
;
import
com.jomalls.custom.dal.entity.CustomProductRemarkEntity
;
import
com.jomalls.custom.domain.service.CustomProductRemarkDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:13
*/
@Service
public
class
CustomProductRemarkDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductRemarkMapper
,
CustomProductRemarkEntity
>
implements
CustomProductRemarkDomainService
{
@Autowired
public
CustomProductRemarkDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/CustomProductWarehouseRelDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.CustomProductWarehouseRelMapper
;
import
com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity
;
import
com.jomalls.custom.domain.service.CustomProductWarehouseRelDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:13
*/
@Service
public
class
CustomProductWarehouseRelDomainServiceImpl
extends
BaseServiceImpl
<
CustomProductWarehouseRelMapper
,
CustomProductWarehouseRelEntity
>
implements
CustomProductWarehouseRelDomainService
{
@Autowired
public
CustomProductWarehouseRelDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/java/com/jomalls/custom/domain/service/impl/LogCustomProductDomainServiceImpl.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
domain
.
service
.
impl
;
import
com.jomalls.custom.dal.mapper.LogCustomProductMapper
;
import
com.jomalls.custom.dal.entity.LogCustomProductEntity
;
import
com.jomalls.custom.domain.service.LogCustomProductDomainService
;
import
com.jomalls.custom.service.impl.BaseServiceImpl
;
import
org.apache.ibatis.session.SqlSessionFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @author Lizh
* @version 0.01
* @description: 接口实现
* @date 2026-05-28 19:07:13
*/
@Service
public
class
LogCustomProductDomainServiceImpl
extends
BaseServiceImpl
<
LogCustomProductMapper
,
LogCustomProductEntity
>
implements
LogCustomProductDomainService
{
@Autowired
public
LogCustomProductDomainServiceImpl
(
SqlSessionFactory
sqlSessionFactory
)
{
super
(
sqlSessionFactory
);
}
// 自定义方法或者基础方法重写
}
\ No newline at end of file
custom-server-domain/src/main/resources/mapper/CustomProductBlacklistMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductBlacklistMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductBlacklistEntity"
id=
"customProductBlacklistMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"diyUserId"
column=
"diy_user_id"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
diy_user_id
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductCnRemarkMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductCnRemarkMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductCnRemarkEntity"
id=
"customProductCnRemarkMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
remark,
create_time
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductCraftRelMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductCraftRelMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductCraftRelEntity"
id=
"customProductCraftRelMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"craftId"
column=
"craft_id"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
craft_id
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductDiyUserRelMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductDiyUserRelMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductDiyUserRelEntity"
id=
"customProductDiyUserRelMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"diyUserId"
column=
"diy_user_id"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
diy_user_id
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductFactoryPriceIntervalRelMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductFactoryPriceIntervalRelMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductFactoryPriceIntervalRelEntity"
id=
"customProductFactoryPriceIntervalRelMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"currencyCode"
column=
"currency_code"
/>
<result
property=
"priceMax"
column=
"price_max"
/>
<result
property=
"priceMin"
column=
"price_min"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
currency_code,
price_max,
price_min
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductFactoryPriceRelMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductFactoryPriceRelMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductFactoryPriceRelEntity"
id=
"customProductFactoryPriceRelMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"itemId"
column=
"item_id"
/>
<result
property=
"itemSku"
column=
"item_sku"
/>
<result
property=
"factoryId"
column=
"factory_id"
/>
<result
property=
"factoryPrice"
column=
"factory_price"
/>
<result
property=
"salesPrice"
column=
"sales_price"
/>
<result
property=
"factoryCurrencyCode"
column=
"factory_currency_code"
/>
<result
property=
"salesCurrencyCode"
column=
"sales_currency_code"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
item_id,
item_sku,
factory_id,
factory_price,
sales_price,
factory_currency_code,
sales_currency_code,
create_time,
update_time
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductImageMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductImageMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductImageEntity"
id=
"customProductImageMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"imageUrl"
column=
"image_url"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"type"
column=
"type"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
image_url,
sort,
type,
create_time
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductInfoMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductInfoMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductInfoEntity"
id=
"customProductInfoMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"sku"
column=
"sku"
/>
<result
property=
"title"
column=
"title"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"namespace"
column=
"namespace"
/>
<result
property=
"affiliatedFactory"
column=
"affiliated_factory"
/>
<result
property=
"thirdSku"
column=
"third_sku"
/>
<result
property=
"imgUrl"
column=
"img_url"
/>
<result
property=
"categoryId"
column=
"category_id"
/>
<result
property=
"weight"
column=
"weight"
/>
<result
property=
"purchasingMin"
column=
"purchasing_min"
/>
<result
property=
"factoryPrice"
column=
"factory_price"
/>
<result
property=
"salesPrice"
column=
"sales_price"
/>
<result
property=
"salesPriceMax"
column=
"sales_price_max"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"preSuspendStatus"
column=
"pre_suspend_status"
/>
<result
property=
"property1CateId"
column=
"property1_cate_id"
/>
<result
property=
"property2CateId"
column=
"property2_cate_id"
/>
<result
property=
"property3CateId"
column=
"property3_cate_id"
/>
<result
property=
"property1Enname"
column=
"property1_enname"
/>
<result
property=
"property2Enname"
column=
"property2_enname"
/>
<result
property=
"property3Enname"
column=
"property3_enname"
/>
<result
property=
"colorImages"
column=
"color_images"
/>
<result
property=
"material"
column=
"material"
/>
<result
property=
"printType"
column=
"print_type"
/>
<result
property=
"productNo"
column=
"product_no"
/>
<result
property=
"originCode"
column=
"origin_code"
/>
<result
property=
"originNameCn"
column=
"origin_name_cn"
/>
<result
property=
"originNameEn"
column=
"origin_name_en"
/>
<result
property=
"currencyCode"
column=
"currency_code"
/>
<result
property=
"currencyName"
column=
"currency_name"
/>
<result
property=
"productType"
column=
"product_type"
/>
<result
property=
"factoryId"
column=
"factory_id"
/>
<result
property=
"factoryCode"
column=
"factory_code"
/>
<result
property=
"processing"
column=
"processing"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"diyId"
column=
"diy_id"
/>
<result
property=
"diySku"
column=
"diy_sku"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
sku,
title,
name,
namespace,
affiliated_factory,
third_sku,
img_url,
category_id,
weight,
purchasing_min,
factory_price,
sales_price,
sales_price_max,
status,
pre_suspend_status,
property1_cate_id,
property2_cate_id,
property3_cate_id,
property1_enname,
property2_enname,
property3_enname,
color_images,
material,
print_type,
product_no,
origin_code,
origin_name_cn,
origin_name_en,
currency_code,
currency_name,
product_type,
factory_id,
factory_code,
processing,
create_time,
update_time,
sort,
diy_id,
diy_sku
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductInfoPropertyMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductInfoPropertyMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductInfoPropertyEntity"
id=
"customProductInfoPropertyMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"infoId"
column=
"info_id"
/>
<result
property=
"propertyId"
column=
"property_id"
/>
<result
property=
"valueId"
column=
"value_id"
/>
<result
property=
"skuProperty"
column=
"sku_property"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
info_id,
property_id,
value_id,
sku_property
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductItemMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductItemMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductItemEntity"
id=
"customProductItemMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"sku"
column=
"sku"
/>
<result
property=
"skuName"
column=
"sku_name"
/>
<result
property=
"image"
column=
"image"
/>
<result
property=
"imageAry"
column=
"image_ary"
/>
<result
property=
"propertyCateId1"
column=
"property_cate_id1"
/>
<result
property=
"propertyCateId2"
column=
"property_cate_id2"
/>
<result
property=
"propertyCateId3"
column=
"property_cate_id3"
/>
<result
property=
"property1Id"
column=
"property1_id"
/>
<result
property=
"property2Id"
column=
"property2_id"
/>
<result
property=
"property3Id"
column=
"property3_id"
/>
<result
property=
"propertyCode1"
column=
"property_code1"
/>
<result
property=
"propertyCode2"
column=
"property_code2"
/>
<result
property=
"propertyCode3"
column=
"property_code3"
/>
<result
property=
"optionEnname1"
column=
"option_enname1"
/>
<result
property=
"optionEnname2"
column=
"option_enname2"
/>
<result
property=
"optionEnname3"
column=
"option_enname3"
/>
<result
property=
"customValue1"
column=
"custom_value1"
/>
<result
property=
"customValue2"
column=
"custom_value2"
/>
<result
property=
"customValue3"
column=
"custom_value3"
/>
<result
property=
"factoryPrice"
column=
"factory_price"
/>
<result
property=
"salesPrice"
column=
"sales_price"
/>
<result
property=
"skuWeight"
column=
"sku_weight"
/>
<result
property=
"regCount"
column=
"reg_count"
/>
<result
property=
"printType"
column=
"print_type"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"productNo"
column=
"product_no"
/>
<result
property=
"sizeType"
column=
"size_type"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
sku,
sku_name,
image,
image_ary,
property_cate_id1,
property_cate_id2,
property_cate_id3,
property1_id,
property2_id,
property3_id,
property_code1,
property_code2,
property_code3,
option_enname1,
option_enname2,
option_enname3,
custom_value1,
custom_value2,
custom_value3,
factory_price,
sales_price,
sku_weight,
reg_count,
print_type,
sort,
product_no,
size_type,
create_time,
update_time
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductRemarkMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductRemarkMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductRemarkEntity"
id=
"customProductRemarkMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"createTime"
column=
"create_time"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
remark,
create_time
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/CustomProductWarehouseRelMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.CustomProductWarehouseRelMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.CustomProductWarehouseRelEntity"
id=
"customProductWarehouseRelMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"warehouseId"
column=
"warehouse_id"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
warehouse_id
</sql>
</mapper>
custom-server-domain/src/main/resources/mapper/LogCustomProductMapper.xml
0 → 100644
View file @
6d4961be
<?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.jomalls.custom.dal.mapper.LogCustomProductMapper"
>
<!-- 可根据自己的需求,是否要使用 -->
<resultMap
type=
"com.jomalls.custom.dal.entity.LogCustomProductEntity"
id=
"logCustomProductMap"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"productId"
column=
"product_id"
/>
<result
property=
"employeeId"
column=
"employee_id"
/>
<result
property=
"employeeAccount"
column=
"employee_account"
/>
<result
property=
"description"
column=
"description"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"dataPermissions"
column=
"data_permissions"
/>
</resultMap>
<!-- 注意去掉最后一行的逗号 -->
<sql
id=
"tableColumns"
>
id,
product_id,
employee_id,
employee_account,
description,
create_time,
data_permissions
</sql>
</mapper>
custom-server-starter/src/main/java/com/jomalls/custom/config/RestResponseBodyConfig.java
View file @
6d4961be
...
...
@@ -21,6 +21,12 @@ import java.util.ArrayList;
import
java.util.Arrays
;
import
java.util.List
;
/**
* 统一返回处理
*
* @author lizh
* @date 2026-05-28 10:25:27
*/
@ControllerAdvice
public
class
RestResponseBodyConfig
implements
ResponseBodyAdvice
<
Object
>
{
...
...
custom-server-webapp/pom.xml
View file @
6d4961be
...
...
@@ -33,6 +33,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<scope>
provided
</scope>
</dependency>
</dependencies>
</project>
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductBlacklistController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductBlacklistPageVO
;
import
com.jomalls.custom.app.model.CustomProductBlacklistVO
;
import
com.jomalls.custom.app.service.CustomProductBlacklistService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:02
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductBlacklist"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductBlacklist"
)
public
class
CustomProductBlacklistController
{
@Autowired
private
CustomProductBlacklistService
customProductBlacklistService
;
/**
* 列表查询接口
*
* @param customProductBlacklistVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductBlacklistVO
>
list
(
@RequestBody
CustomProductBlacklistVO
customProductBlacklistVO
)
{
return
customProductBlacklistService
.
list
(
customProductBlacklistVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductBlacklistPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductBlacklistVO
>
pageList
(
@RequestBody
CustomProductBlacklistPageVO
customProductBlacklistPageVO
)
{
return
customProductBlacklistService
.
pageList
(
customProductBlacklistPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductBlacklistVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductBlacklistService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductBlacklistVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductBlacklistVO
customProductBlacklistVO
)
{
customProductBlacklistService
.
save
(
customProductBlacklistVO
);
}
/**
* 根据id修改对象
*
* @param customProductBlacklistVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductBlacklistVO
customProductBlacklistVO
)
{
customProductBlacklistService
.
updateById
(
customProductBlacklistVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductBlacklistService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductCnRemarkController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductCnRemarkVO
;
import
com.jomalls.custom.app.service.CustomProductCnRemarkService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:02
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductCnRemark"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductCnRemark"
)
public
class
CustomProductCnRemarkController
{
@Autowired
private
CustomProductCnRemarkService
customProductCnRemarkService
;
/**
* 列表查询接口
*
* @param customProductCnRemarkVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductCnRemarkVO
>
list
(
@RequestBody
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
return
customProductCnRemarkService
.
list
(
customProductCnRemarkVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductCnRemarkPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductCnRemarkVO
>
pageList
(
@RequestBody
CustomProductCnRemarkPageVO
customProductCnRemarkPageVO
)
{
return
customProductCnRemarkService
.
pageList
(
customProductCnRemarkPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductCnRemarkVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductCnRemarkService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductCnRemarkVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
customProductCnRemarkService
.
save
(
customProductCnRemarkVO
);
}
/**
* 根据id修改对象
*
* @param customProductCnRemarkVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductCnRemarkVO
customProductCnRemarkVO
)
{
customProductCnRemarkService
.
updateById
(
customProductCnRemarkVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductCnRemarkService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductCraftRelController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductCraftRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductCraftRelVO
;
import
com.jomalls.custom.app.service.CustomProductCraftRelService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:02
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductCraftRel"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductCraftRel"
)
public
class
CustomProductCraftRelController
{
@Autowired
private
CustomProductCraftRelService
customProductCraftRelService
;
/**
* 列表查询接口
*
* @param customProductCraftRelVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductCraftRelVO
>
list
(
@RequestBody
CustomProductCraftRelVO
customProductCraftRelVO
)
{
return
customProductCraftRelService
.
list
(
customProductCraftRelVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductCraftRelPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductCraftRelVO
>
pageList
(
@RequestBody
CustomProductCraftRelPageVO
customProductCraftRelPageVO
)
{
return
customProductCraftRelService
.
pageList
(
customProductCraftRelPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductCraftRelVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductCraftRelService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductCraftRelVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductCraftRelVO
customProductCraftRelVO
)
{
customProductCraftRelService
.
save
(
customProductCraftRelVO
);
}
/**
* 根据id修改对象
*
* @param customProductCraftRelVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductCraftRelVO
customProductCraftRelVO
)
{
customProductCraftRelService
.
updateById
(
customProductCraftRelVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductCraftRelService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductDiyUserRelController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductDiyUserRelVO
;
import
com.jomalls.custom.app.service.CustomProductDiyUserRelService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:03
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductDiyUserRel"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductDiyUserRel"
)
public
class
CustomProductDiyUserRelController
{
@Autowired
private
CustomProductDiyUserRelService
customProductDiyUserRelService
;
/**
* 列表查询接口
*
* @param customProductDiyUserRelVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductDiyUserRelVO
>
list
(
@RequestBody
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
return
customProductDiyUserRelService
.
list
(
customProductDiyUserRelVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductDiyUserRelPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductDiyUserRelVO
>
pageList
(
@RequestBody
CustomProductDiyUserRelPageVO
customProductDiyUserRelPageVO
)
{
return
customProductDiyUserRelService
.
pageList
(
customProductDiyUserRelPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductDiyUserRelVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductDiyUserRelService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductDiyUserRelVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
customProductDiyUserRelService
.
save
(
customProductDiyUserRelVO
);
}
/**
* 根据id修改对象
*
* @param customProductDiyUserRelVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductDiyUserRelVO
customProductDiyUserRelVO
)
{
customProductDiyUserRelService
.
updateById
(
customProductDiyUserRelVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductDiyUserRelService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductFactoryPriceIntervalRelController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceIntervalRelVO
;
import
com.jomalls.custom.app.service.CustomProductFactoryPriceIntervalRelService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:03
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductFactoryPriceIntervalRel"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductFactoryPriceIntervalRel"
)
public
class
CustomProductFactoryPriceIntervalRelController
{
@Autowired
private
CustomProductFactoryPriceIntervalRelService
customProductFactoryPriceIntervalRelService
;
/**
* 列表查询接口
*
* @param customProductFactoryPriceIntervalRelVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductFactoryPriceIntervalRelVO
>
list
(
@RequestBody
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
return
customProductFactoryPriceIntervalRelService
.
list
(
customProductFactoryPriceIntervalRelVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceIntervalRelPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductFactoryPriceIntervalRelVO
>
pageList
(
@RequestBody
CustomProductFactoryPriceIntervalRelPageVO
customProductFactoryPriceIntervalRelPageVO
)
{
return
customProductFactoryPriceIntervalRelService
.
pageList
(
customProductFactoryPriceIntervalRelPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductFactoryPriceIntervalRelVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductFactoryPriceIntervalRelService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductFactoryPriceIntervalRelVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
customProductFactoryPriceIntervalRelService
.
save
(
customProductFactoryPriceIntervalRelVO
);
}
/**
* 根据id修改对象
*
* @param customProductFactoryPriceIntervalRelVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductFactoryPriceIntervalRelVO
customProductFactoryPriceIntervalRelVO
)
{
customProductFactoryPriceIntervalRelService
.
updateById
(
customProductFactoryPriceIntervalRelVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductFactoryPriceIntervalRelService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductFactoryPriceRelController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductFactoryPriceRelVO
;
import
com.jomalls.custom.app.service.CustomProductFactoryPriceRelService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:03
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductFactoryPriceRel"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductFactoryPriceRel"
)
public
class
CustomProductFactoryPriceRelController
{
@Autowired
private
CustomProductFactoryPriceRelService
customProductFactoryPriceRelService
;
/**
* 列表查询接口
*
* @param customProductFactoryPriceRelVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductFactoryPriceRelVO
>
list
(
@RequestBody
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
return
customProductFactoryPriceRelService
.
list
(
customProductFactoryPriceRelVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductFactoryPriceRelPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductFactoryPriceRelVO
>
pageList
(
@RequestBody
CustomProductFactoryPriceRelPageVO
customProductFactoryPriceRelPageVO
)
{
return
customProductFactoryPriceRelService
.
pageList
(
customProductFactoryPriceRelPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductFactoryPriceRelVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductFactoryPriceRelService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductFactoryPriceRelVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
customProductFactoryPriceRelService
.
save
(
customProductFactoryPriceRelVO
);
}
/**
* 根据id修改对象
*
* @param customProductFactoryPriceRelVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductFactoryPriceRelVO
customProductFactoryPriceRelVO
)
{
customProductFactoryPriceRelService
.
updateById
(
customProductFactoryPriceRelVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductFactoryPriceRelService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductImageController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductImagePageVO
;
import
com.jomalls.custom.app.model.CustomProductImageVO
;
import
com.jomalls.custom.app.service.CustomProductImageService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:03
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductImage"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductImage"
)
public
class
CustomProductImageController
{
@Autowired
private
CustomProductImageService
customProductImageService
;
/**
* 列表查询接口
*
* @param customProductImageVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductImageVO
>
list
(
@RequestBody
CustomProductImageVO
customProductImageVO
)
{
return
customProductImageService
.
list
(
customProductImageVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductImagePageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductImageVO
>
pageList
(
@RequestBody
CustomProductImagePageVO
customProductImagePageVO
)
{
return
customProductImageService
.
pageList
(
customProductImagePageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductImageVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductImageService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductImageVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductImageVO
customProductImageVO
)
{
customProductImageService
.
save
(
customProductImageVO
);
}
/**
* 根据id修改对象
*
* @param customProductImageVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductImageVO
customProductImageVO
)
{
customProductImageService
.
updateById
(
customProductImageVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductImageService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductInfoController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductInfoPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoVO
;
import
com.jomalls.custom.app.service.CustomProductInfoService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductInfo"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductInfo"
)
public
class
CustomProductInfoController
{
@Autowired
private
CustomProductInfoService
customProductInfoService
;
/**
* 列表查询接口
*
* @param customProductInfoVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductInfoVO
>
list
(
@RequestBody
CustomProductInfoVO
customProductInfoVO
)
{
return
customProductInfoService
.
list
(
customProductInfoVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductInfoVO
>
pageList
(
@RequestBody
CustomProductInfoPageVO
customProductInfoPageVO
)
{
return
customProductInfoService
.
pageList
(
customProductInfoPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductInfoVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductInfoService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductInfoVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductInfoVO
customProductInfoVO
)
{
customProductInfoService
.
save
(
customProductInfoVO
);
}
/**
* 根据id修改对象
*
* @param customProductInfoVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductInfoVO
customProductInfoVO
)
{
customProductInfoService
.
updateById
(
customProductInfoVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductInfoService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductInfoPropertyController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyPageVO
;
import
com.jomalls.custom.app.model.CustomProductInfoPropertyVO
;
import
com.jomalls.custom.app.service.CustomProductInfoPropertyService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductInfoProperty"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductInfoProperty"
)
public
class
CustomProductInfoPropertyController
{
@Autowired
private
CustomProductInfoPropertyService
customProductInfoPropertyService
;
/**
* 列表查询接口
*
* @param customProductInfoPropertyVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductInfoPropertyVO
>
list
(
@RequestBody
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
return
customProductInfoPropertyService
.
list
(
customProductInfoPropertyVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductInfoPropertyPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductInfoPropertyVO
>
pageList
(
@RequestBody
CustomProductInfoPropertyPageVO
customProductInfoPropertyPageVO
)
{
return
customProductInfoPropertyService
.
pageList
(
customProductInfoPropertyPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductInfoPropertyVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductInfoPropertyService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductInfoPropertyVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
customProductInfoPropertyService
.
save
(
customProductInfoPropertyVO
);
}
/**
* 根据id修改对象
*
* @param customProductInfoPropertyVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductInfoPropertyVO
customProductInfoPropertyVO
)
{
customProductInfoPropertyService
.
updateById
(
customProductInfoPropertyVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductInfoPropertyService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductItemController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductItemPageVO
;
import
com.jomalls.custom.app.model.CustomProductItemVO
;
import
com.jomalls.custom.app.service.CustomProductItemService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductItem"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductItem"
)
public
class
CustomProductItemController
{
@Autowired
private
CustomProductItemService
customProductItemService
;
/**
* 列表查询接口
*
* @param customProductItemVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductItemVO
>
list
(
@RequestBody
CustomProductItemVO
customProductItemVO
)
{
return
customProductItemService
.
list
(
customProductItemVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductItemPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductItemVO
>
pageList
(
@RequestBody
CustomProductItemPageVO
customProductItemPageVO
)
{
return
customProductItemService
.
pageList
(
customProductItemPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductItemVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductItemService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductItemVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductItemVO
customProductItemVO
)
{
customProductItemService
.
save
(
customProductItemVO
);
}
/**
* 根据id修改对象
*
* @param customProductItemVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductItemVO
customProductItemVO
)
{
customProductItemService
.
updateById
(
customProductItemVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductItemService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductRemarkController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductRemarkPageVO
;
import
com.jomalls.custom.app.model.CustomProductRemarkVO
;
import
com.jomalls.custom.app.service.CustomProductRemarkService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductRemark"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductRemark"
)
public
class
CustomProductRemarkController
{
@Autowired
private
CustomProductRemarkService
customProductRemarkService
;
/**
* 列表查询接口
*
* @param customProductRemarkVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductRemarkVO
>
list
(
@RequestBody
CustomProductRemarkVO
customProductRemarkVO
)
{
return
customProductRemarkService
.
list
(
customProductRemarkVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductRemarkPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductRemarkVO
>
pageList
(
@RequestBody
CustomProductRemarkPageVO
customProductRemarkPageVO
)
{
return
customProductRemarkService
.
pageList
(
customProductRemarkPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductRemarkVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductRemarkService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductRemarkVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductRemarkVO
customProductRemarkVO
)
{
customProductRemarkService
.
save
(
customProductRemarkVO
);
}
/**
* 根据id修改对象
*
* @param customProductRemarkVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductRemarkVO
customProductRemarkVO
)
{
customProductRemarkService
.
updateById
(
customProductRemarkVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductRemarkService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/CustomProductWarehouseRelController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelPageVO
;
import
com.jomalls.custom.app.model.CustomProductWarehouseRelVO
;
import
com.jomalls.custom.app.service.CustomProductWarehouseRelService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/customProductWarehouseRel"
,
description
=
"Controller"
)
@RequestMapping
(
"/customProductWarehouseRel"
)
public
class
CustomProductWarehouseRelController
{
@Autowired
private
CustomProductWarehouseRelService
customProductWarehouseRelService
;
/**
* 列表查询接口
*
* @param customProductWarehouseRelVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
CustomProductWarehouseRelVO
>
list
(
@RequestBody
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
return
customProductWarehouseRelService
.
list
(
customProductWarehouseRelVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param customProductWarehouseRelPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
CustomProductWarehouseRelVO
>
pageList
(
@RequestBody
CustomProductWarehouseRelPageVO
customProductWarehouseRelPageVO
)
{
return
customProductWarehouseRelService
.
pageList
(
customProductWarehouseRelPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
CustomProductWarehouseRelVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
customProductWarehouseRelService
.
info
(
id
);
}
/**
* 保存对象
*
* @param customProductWarehouseRelVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
customProductWarehouseRelService
.
save
(
customProductWarehouseRelVO
);
}
/**
* 根据id修改对象
*
* @param customProductWarehouseRelVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
CustomProductWarehouseRelVO
customProductWarehouseRelVO
)
{
customProductWarehouseRelService
.
updateById
(
customProductWarehouseRelVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
customProductWarehouseRelService
.
deleteById
(
id
);
}
}
custom-server-webapp/src/main/java/com/jomalls/custom/webapp/controller/LogCustomProductController.java
0 → 100644
View file @
6d4961be
package
com
.
jomalls
.
custom
.
webapp
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.jomalls.custom.app.model.LogCustomProductPageVO
;
import
com.jomalls.custom.app.model.LogCustomProductVO
;
import
com.jomalls.custom.app.service.LogCustomProductService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
jakarta.validation.Valid
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* @author Lizh
* @version 0.01
* @description: Controller
* @date 2026-05-29 11:43:04
*/
@Slf4j
@RestController
@Tag
(
name
=
"/logCustomProduct"
,
description
=
"Controller"
)
@RequestMapping
(
"/logCustomProduct"
)
public
class
LogCustomProductController
{
@Autowired
private
LogCustomProductService
logCustomProductService
;
/**
* 列表查询接口
*
* @param logCustomProductVO 条件model
* @return list集合
*/
@Operation
(
summary
=
"列表查询接口"
,
description
=
"根据条件查询列表接口(不分页)"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
POST
)
public
List
<
LogCustomProductVO
>
list
(
@RequestBody
LogCustomProductVO
logCustomProductVO
)
{
return
logCustomProductService
.
list
(
logCustomProductVO
);
}
/**
* 根据条件查询分页列表接口
*
* @param logCustomProductPageVO 分页入参model
* @return 分页对象
*/
@Operation
(
summary
=
"分页列表接口"
,
description
=
"根据条件查询分页列表接口"
)
@RequestMapping
(
value
=
"/pageList"
,
method
=
RequestMethod
.
POST
)
public
IPage
<
LogCustomProductVO
>
pageList
(
@RequestBody
LogCustomProductPageVO
logCustomProductPageVO
)
{
return
logCustomProductService
.
pageList
(
logCustomProductPageVO
);
}
/**
* 根据主键id查询详情
*
* @param id 主键
* @return 实体model
*/
@Operation
(
summary
=
"根据主键id查询详情"
,
description
=
"根据主键id查询详情"
)
@RequestMapping
(
value
=
"/info/{id}"
,
method
=
RequestMethod
.
GET
)
public
LogCustomProductVO
info
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
return
logCustomProductService
.
info
(
id
);
}
/**
* 保存对象
*
* @param logCustomProductVO 保存对象
*/
@Operation
(
summary
=
"保存对象"
,
description
=
"保存对象"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
void
save
(
@RequestBody
@Valid
LogCustomProductVO
logCustomProductVO
)
{
logCustomProductService
.
save
(
logCustomProductVO
);
}
/**
* 根据id修改对象
*
* @param logCustomProductVO 修改对象
*/
@Operation
(
summary
=
"根据id修改对象"
,
description
=
"根据id修改对象"
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
public
void
updateById
(
@RequestBody
LogCustomProductVO
logCustomProductVO
)
{
logCustomProductService
.
updateById
(
logCustomProductVO
);
}
/**
* 根据主键id进行删除
*
* @param id 主键
*/
@Operation
(
summary
=
"根据主键id进行删除"
,
description
=
"根据主键id进行删除"
)
@RequestMapping
(
value
=
"/deleteById/{id}"
,
method
=
RequestMethod
.
DELETE
)
public
void
deleteById
(
@Parameter
(
description
=
"主键id"
,
required
=
true
)
@PathVariable
(
"id"
)
Integer
id
)
{
logCustomProductService
.
deleteById
(
id
);
}
}
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