| | |
| | | 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; |
| | |
| | | @Resource |
| | | private PowerAppSysMapper mapper; |
| | | |
| | | @Autowired |
| | | private SubTablePageInfoService subService; |
| | | |
| | | public boolean updateReInitPowerData() { |
| | | |
| | | return mapper.updateReInitPowerData()>0; |
| | | } |
| | | |
| | | public boolean updateFlag(String columnName) { |
| | | return mapper.updateFlag(columnName)>0; |
| | | //int flag=mapper.updateFlag(columnName); |
| | | int flag=subService.updateFlag(columnName); |
| | | return flag>0; |
| | | } |
| | | } |