From 2bb36dd9cf6e0c72cd17e6356582e6e7f84fdec1 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期日, 26 九月 2021 16:09:41 +0800 Subject: [PATCH] bug修复 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientMerchantDTO.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientMerchantDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientMerchantDTO.java index 9db1d54..a6e2338 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientMerchantDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientMerchantDTO.java @@ -21,7 +21,7 @@ import lombok.Data; /** - * @title: AddConvenientMerchantDTO + * @title: ConvenientMerchantDTO * @projectName: 成都呐喊信息技术有限公司-智慧社区项目 * @description: 新增/编辑便民服务商家 * @author: hans @@ -121,4 +121,12 @@ public void setPeriod(MerchantBusinessPeriod period) { this.period = period; } + + public Boolean getBusinessStatus() { + return businessStatus.intValue() == 1; + } + + public void setBusinessStatus(Boolean businessStatus) { + this.businessStatus = businessStatus ? 1 : 0; + } } \ No newline at end of file -- Gitblit v1.7.1