Commit 6f5f060c by guojuxing

新增 门店启用策略修改:允许条件为空,即所有门店

parent 0e00894f
...@@ -74,8 +74,8 @@ public interface TabDataExplainMapper { ...@@ -74,8 +74,8 @@ public interface TabDataExplainMapper {
* @Title: listDataExplain
 * @Title: listDataExplain

* @Description: * @Description:

* @author zhiwj 
* @author zhiwj
* @param dataExplainQO * @param dataExplainQo
* @return com.github.pagehelper.Page<com.gic.cloud.entity.TabDataExplain>
 * @return com.github.pagehelper.Page<com.gic.cloud.entity.TabDataExplain>


*/ 
*/
Page<TabDataExplain> listDataExplain(DataExplainQo dataExplainQO); Page<TabDataExplain> listDataExplain(DataExplainQo dataExplainQo);
} }
\ No newline at end of file
...@@ -74,8 +74,8 @@ public interface TabIndexMapper { ...@@ -74,8 +74,8 @@ public interface TabIndexMapper {
* @Title: listIndex
 * @Title: listIndex

* @Description: * @Description:

* @author guojuxing 
* @author guojuxing
* @param indexQO * @param indexQo
* @return com.github.pagehelper.Page<com.gic.cloud.entity.TabIndex>
 * @return com.github.pagehelper.Page<com.gic.cloud.entity.TabIndex>


*/ 
*/
Page<TabIndex> listIndex(IndexQo indexQO); Page<TabIndex> listIndex(IndexQo indexQo);
} }
\ No newline at end of file
...@@ -79,8 +79,8 @@ public class DataExplainApiServiceImpl implements DataExplainApiService { ...@@ -79,8 +79,8 @@ public class DataExplainApiServiceImpl implements DataExplainApiService {
} }
@Override @Override
public ServiceResponse<Page<DataExplainDTO>> listDataExplain(DataExplainQo dataExplainQO) { public ServiceResponse<Page<DataExplainDTO>> listDataExplain(DataExplainQo dataExplainQo) {
com.github.pagehelper.Page<TabDataExplain> listDataExplain = this.dataExplainService.listDataExplain(dataExplainQO); com.github.pagehelper.Page<TabDataExplain> listDataExplain = this.dataExplainService.listDataExplain(dataExplainQo);
Page<DataExplainDTO> dtoPage = PageHelperUtils.changePageHelperToCurrentPage(listDataExplain, DataExplainDTO.class); Page<DataExplainDTO> dtoPage = PageHelperUtils.changePageHelperToCurrentPage(listDataExplain, DataExplainDTO.class);
return EnterpriseServiceResponse.success(dtoPage); return EnterpriseServiceResponse.success(dtoPage);
} }
...@@ -121,9 +121,9 @@ public class DataExplainApiServiceImpl implements DataExplainApiService { ...@@ -121,9 +121,9 @@ public class DataExplainApiServiceImpl implements DataExplainApiService {
@Override @Override
public ServiceResponse<DataExplainDTO> listByModule(String moduleId) { public ServiceResponse<DataExplainDTO> listByModule(String moduleId) {
DataExplainQo dataExplainQO = new DataExplainQo(); DataExplainQo dataExplainQo = new DataExplainQo();
dataExplainQO.setModuleId(moduleId); dataExplainQo.setModuleId(moduleId);
List<TabDataExplain> dataExplainList = dataExplainService.listAllDataExplain(dataExplainQO); List<TabDataExplain> dataExplainList = dataExplainService.listAllDataExplain(dataExplainQo);
if (CollectionUtils.isNotEmpty(dataExplainList)) { if (CollectionUtils.isNotEmpty(dataExplainList)) {
return EnterpriseServiceResponse.success(EntityUtil.changeEntityByJSON(DataExplainDTO.class, dataExplainList.get(0))); return EnterpriseServiceResponse.success(EntityUtil.changeEntityByJSON(DataExplainDTO.class, dataExplainList.get(0)));
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment