yhzafk人脸

develop
Angel 11 months ago
parent 76989c8fd5
commit cbaf49e3d9

@ -1,9 +1,13 @@
package com.ssf.mysqloracletest.mapper; package com.ssf.mysqloracletest.mapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.TStrhEntityInfoKs; import com.ssf.mysqloracletest.domain.TStrhEntityInfoKs;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@DS("postgreUser")
public interface TStrhEntityInfoKsMapper extends BaseMapper<TStrhEntityInfoKs> { public interface TStrhEntityInfoKsMapper extends BaseMapper<TStrhEntityInfoKs> {
} }

@ -10,7 +10,7 @@ import org.springframework.stereotype.Service;
@Service @Service
@RequiredArgsConstructor @RequiredArgsConstructor
@DS("postgre") @DS("postgreUser")
public class TStrhEntityInfoKsServiceImpl extends ServiceImpl<TStrhEntityInfoKsMapper, TStrhEntityInfoKs> public class TStrhEntityInfoKsServiceImpl extends ServiceImpl<TStrhEntityInfoKsMapper, TStrhEntityInfoKs>
implements TStrhEntityInfoKsService { implements TStrhEntityInfoKsService {

Loading…
Cancel
Save