package com.whyc.service;
|
|
import com.whyc.mapper.PowerAppSysMapper;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
|
@Service
|
public class PowerAppSysService {
|
@Resource
|
private PowerAppSysMapper mapper;
|
|
@Autowired
|
private SubTablePageInfoService subService;
|
|
public boolean updateReInitPowerData() {
|
|
return mapper.updateReInitPowerData()>0;
|
}
|
|
public boolean updateFlag(String columnName) {
|
//int flag=mapper.updateFlag(columnName);
|
int flag=subService.updateFlag(columnName);
|
return flag>0;
|
}
|
}
|