|
|
|
@ -4,6 +4,7 @@ import com.dxhy.core.dao.GsClientMapper; |
|
|
|
|
import com.dxhy.core.entity.GsClient; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
import java.util.List; |
|
|
|
@ -22,6 +23,7 @@ public class GsClientServiceImpl implements GsClientService{ |
|
|
|
|
private GsClientMapper gsClientMapper; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
public void updateGsClient(List<GsClient> list) { |
|
|
|
|
log.info("{}删除gs_client表数据", LOGGER_MSG); |
|
|
|
|
gsClientMapper.deleteAll(); |
|
|
|
|