whyclxw
2024-04-28 b25b814a949d2065a61fd3167206ffb51a57af65
src/main/java/com/whyc/service/PowerAppSysService.java
@@ -1,6 +1,7 @@
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;
@@ -10,12 +11,17 @@
    @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;
    }
}