|
|
@@ -8,6 +8,7 @@ import org.jeecg.modules.hlgplatform.service.IHlgPlatformSubcontractorService;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
/**
|
|
|
* @Description: 平台服务商表
|
|
|
@@ -22,4 +23,11 @@ public class HlgPlatformSubcontractorServiceImpl extends ServiceImpl<HlgPlatform
|
|
|
public Page<HlgPlatformSubcontractor> pageList(Page<HlgPlatformSubcontractor> pageList, HlgPlatformSubcontractor hlgPlatformSubcontractor, QueryWrapper<HlgPlatformSubcontractor> queryWrapper) {
|
|
|
return pageList.setRecords(baseMapper.findList(pageList, hlgPlatformSubcontractor, queryWrapper));
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ @Transactional
|
|
|
+ public void savePlatformSubcontractor(HlgPlatformSubcontractor hlgPlatformSubcontractor) {
|
|
|
+ hlgPlatformSubcontractor.setIsOn("1");
|
|
|
+ save(hlgPlatformSubcontractor);
|
|
|
+ }
|
|
|
}
|